diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2012-01-06 20:20:59 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2012-01-06 20:20:59 +0000 |
commit | aa1808b71f3cfb8493c643b62bf39815816ec31b (patch) | |
tree | 54439fbde7b4f735ff768f3b11c4b190b17aeef8 /sys/netinet/sctputil.c | |
parent | 71eeeaf256dc2722bae8077445aa446535d52cbb (diff) | |
download | src-aa1808b71f3cfb8493c643b62bf39815816ec31b.tar.gz src-aa1808b71f3cfb8493c643b62bf39815816ec31b.zip |
Use NULL instead of 0.
MFC after: 1 month.
Notes
Notes:
svn path=/head/; revision=229729
Diffstat (limited to 'sys/netinet/sctputil.c')
-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 5f42d6e44e39..bfb7620edd18 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) && |