diff options
author | tuexen <tuexen@FreeBSD.org> | 2012-01-06 20:20:59 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2012-01-06 20:20:59 +0000 |
commit | 3a9031f3c366078351d7d77f6885a81b881d04f0 (patch) | |
tree | 54439fbde7b4f735ff768f3b11c4b190b17aeef8 /sys/netinet | |
parent | 519872f221370e130294ac5107411808aba1bf15 (diff) | |
download | FreeBSD-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.c | 2 |
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) && |