Author: tuexen
Date: Fri Jan  6 20:20:59 2012
New Revision: 229729
URL: http://svn.freebsd.org/changeset/base/229729

Log:
  Use NULL instead of 0.
  
  MFC after: 1 month.

Modified:
  head/sys/netinet/sctputil.c

Modified: head/sys/netinet/sctputil.c
==============================================================================
--- head/sys/netinet/sctputil.c Fri Jan  6 20:06:45 2012        (r229728)
+++ head/sys/netinet/sctputil.c Fri Jan  6 20:20:59 2012        (r229729)
@@ -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