NULL is not zero.
Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net> Obtained from: KAME
This commit is contained in:
parent
6989cd8fec
commit
8da52394ef
@ -3005,7 +3005,7 @@ ip6_setpktoptions(control, opt, stickyopt, priv, needcopy, uproto)
|
||||
{
|
||||
struct cmsghdr *cm = 0;
|
||||
|
||||
if (control == 0 || opt == 0)
|
||||
if (control == NULL || opt == NULL)
|
||||
return (EINVAL);
|
||||
|
||||
if (stickyopt) {
|
||||
|
Loading…
Reference in New Issue
Block a user