summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2012-01-06 20:20:59 +0000
committertuexen <tuexen@FreeBSD.org>2012-01-06 20:20:59 +0000
commit3a9031f3c366078351d7d77f6885a81b881d04f0 (patch)
tree54439fbde7b4f735ff768f3b11c4b190b17aeef8 /sys/netinet
parent519872f221370e130294ac5107411808aba1bf15 (diff)
downloadFreeBSD-src-3a9031f3c366078351d7d77f6885a81b881d04f0.zip
FreeBSD-src-3a9031f3c366078351d7d77f6885a81b881d04f0.tar.gz
Use NULL instead of 0.
MFC after: 1 month.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/sctputil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c
index 5f42d6e..bfb7620 100644
--- a/sys/netinet/sctputil.c
+++ b/sys/netinet/sctputil.c
@@ -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) &&
OpenPOWER on IntegriCloud