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) &&
_______________________________________________
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"

Reply via email to