svn commit: r231040 - stable/9/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sun Feb 5 19:56:08 UTC 2012


Author: tuexen
Date: Sun Feb  5 19:56:07 2012
New Revision: 231040
URL: http://svn.freebsd.org/changeset/base/231040

Log:
  MFC r229729:
  Use NULL instead of 0.

Modified:
  stable/9/sys/netinet/sctputil.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netinet/sctputil.c
==============================================================================
--- stable/9/sys/netinet/sctputil.c	Sun Feb  5 19:52:55 2012	(r231039)
+++ stable/9/sys/netinet/sctputil.c	Sun Feb  5 19:56:07 2012	(r231040)
@@ -1459,7 +1459,7 @@ sctp_timeout_handler(void *t)
 	type = tmr->type;
 	if (inp) {
 		SCTP_INP_INCR_REF(inp);
-		if ((inp->sctp_socket == 0) &&
+		if ((inp->sctp_socket == NULL) &&
 		    ((tmr->type != SCTP_TIMER_TYPE_INPKILL) &&
 		    (tmr->type != SCTP_TIMER_TYPE_INIT) &&
 		    (tmr->type != SCTP_TIMER_TYPE_SEND) &&


More information about the svn-src-stable-9 mailing list