Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Fix some zero-vs-NULL confusion.
details: https://anonhg.NetBSD.org/src/rev/6f500564b345
branches: trunk
changeset: 494343:6f500564b345
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Jul 05 21:45:14 2000 +0000
description:
Fix some zero-vs-NULL confusion.
diffstat:
sys/netinet/tcp_input.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 18125c1125d9 -r 6f500564b345 sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c Wed Jul 05 21:32:51 2000 +0000
+++ b/sys/netinet/tcp_input.c Wed Jul 05 21:45:14 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tcp_input.c,v 1.110 2000/07/02 08:04:10 itojun Exp $ */
+/* $NetBSD: tcp_input.c,v 1.111 2000/07/05 21:45:14 thorpej Exp $ */
/*
%%% portions-copyright-nrl-95
@@ -3361,7 +3361,7 @@
MGETHDR(m, M_DONTWAIT, MT_DATA);
if (m && tlen > MHLEN) {
MCLGET(m, M_DONTWAIT);
- if ((m->m_flags & M_EXT) == NULL) {
+ if ((m->m_flags & M_EXT) == 0) {
m_freem(m);
m = NULL;
}
Home |
Main Index |
Thread Index |
Old Index