Date: Sun, 5 Feb 2012 19:56:07 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r231040 - stable/9/sys/netinet Message-ID: <201202051956.q15Ju7OD098531@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) &&
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202051956.q15Ju7OD098531>