diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-08-15 22:04:31 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-08-15 22:04:31 +0000 |
commit | 331fe8720361d1dfcea204a8e110850dc4fa73a8 (patch) | |
tree | 2f8bb31730b028aa4feb8b040f9f6e676e148426 /sys/netinet/udp_usrreq.c | |
parent | 6d7e27acebf039aa472ab2df41baa447cae9e1cc (diff) | |
download | FreeBSD-src-331fe8720361d1dfcea204a8e110850dc4fa73a8.zip FreeBSD-src-331fe8720361d1dfcea204a8e110850dc4fa73a8.tar.gz |
Code formatting sync to trustedbsd_mac: don't perform an assignment
in an if clause.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r-- | sys/netinet/udp_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 1580d74..188182f 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -325,8 +325,8 @@ udp_input(m, off) policyfail = 1; #endif if (!policyfail) { - if ((n = m_copy(m, 0, M_COPYALL)) - != NULL) + n = m_copy(m, 0, M_COPYALL); + if (n != NULL) udp_append(last, ip, n, iphlen + sizeof(struct udphdr)); |