Assign pointers values of NULL rather than 0 in soreceive().

This commit is contained in:
rwatson 2004-07-11 01:22:40 +00:00
parent 62e0e10696
commit 2c40b499bc

View File

@ -864,9 +864,9 @@ soreceive(so, psa, uio, mp0, controlp, flagsp)
mp = mp0;
if (psa != NULL)
*psa = 0;
*psa = NULL;
if (controlp != NULL)
*controlp = 0;
*controlp = NULL;
if (flagsp != NULL)
flags = *flagsp &~ MSG_EOR;
else