Author: rwatson Date: Mon May 25 11:52:33 2009 New Revision: 192755 URL: http://svn.freebsd.org/changeset/base/192755
Log: Prefer NULL to 0 for pointer assignments. MFC after: 1 month Modified: head/sys/netipx/spx_usrreq.c Modified: head/sys/netipx/spx_usrreq.c ============================================================================== --- head/sys/netipx/spx_usrreq.c Mon May 25 11:50:58 2009 (r192754) +++ head/sys/netipx/spx_usrreq.c Mon May 25 11:52:33 2009 (r192755) @@ -677,7 +677,7 @@ send: /* * Find requested packet. */ - si = 0; + si = NULL; if (len > 0) { cb->s_want = cb->s_snxt; for (m = sb->sb_mb; m != NULL; m = m->m_nextpkt) { @@ -690,7 +690,7 @@ send: if (si->si_seq == cb->s_snxt) cb->s_snxt++; else - spxstat.spxs_sndvoid++, si = 0; + spxstat.spxs_sndvoid++, si = NULL; } } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"