From e1968df17ff858aa92bb715825d5647aeaeaaa5e Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sun, 10 Apr 2005 18:05:02 +0000 Subject: [PATCH] Compare (mbuf *) with NULL, not 0. MFC after: 3 days --- sys/netipx/ipx_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netipx/ipx_input.c b/sys/netipx/ipx_input.c index 16c1c2db580..7852e2b1e72 100644 --- a/sys/netipx/ipx_input.c +++ b/sys/netipx/ipx_input.c @@ -152,7 +152,7 @@ ipxintr(struct mbuf *m) ipxstat.ipxs_total++; if ((m->m_flags & M_EXT || m->m_len < sizeof(struct ipx)) && - (m = m_pullup(m, sizeof(struct ipx))) == 0) { + (m = m_pullup(m, sizeof(struct ipx))) == NULL) { ipxstat.ipxs_toosmall++; return; }