patch-2.2.14 linux/include/linux/socket.h
Next file: linux/include/linux/sunrpc/svc.h
Previous file: linux/include/linux/sdlasfm.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jan 4 10:12:25 2000
- Orig file:
v2.2.13/linux/include/linux/socket.h
- Orig date:
Mon Aug 9 16:05:57 1999
diff -u --recursive --new-file v2.2.13/linux/include/linux/socket.h linux/include/linux/socket.h
@@ -106,7 +106,7 @@
__ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len));
if ((unsigned long)((char*)(__ptr+1) - (char *) __ctl) > __size)
- return NULL;
+ return (struct cmsghdr*)0;
return __ptr;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)