svn commit: r231493 - stable/8/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sat Feb 11 00:59:22 UTC 2012


Author: tuexen
Date: Sat Feb 11 00:59:22 2012
New Revision: 231493
URL: http://svn.freebsd.org/changeset/base/231493

Log:
  MFC r229729:
  Use NULL instead of 0.

Modified:
  stable/8/sys/netinet/sctputil.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/boot/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/e1000/   (props changed)

Modified: stable/8/sys/netinet/sctputil.c
==============================================================================
--- stable/8/sys/netinet/sctputil.c	Sat Feb 11 00:57:08 2012	(r231492)
+++ stable/8/sys/netinet/sctputil.c	Sat Feb 11 00:59:22 2012	(r231493)
@@ -1460,7 +1460,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-8 mailing list