Use NULL instead of 0.
MFC after: 1 month.
This commit is contained in:
parent
71eeeaf256
commit
aa1808b71f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229729
@ -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) &&
|
||||
|
Loading…
Reference in New Issue
Block a user