diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2008-06-11 05:59:46 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2008-06-11 05:59:46 (GMT) |
commit | b9e8dcf2e0de3bdb96657921a142b474639955a2 (patch) | |
tree | 9b1897e4ad0ca77ccdbbc97c7755eba5f2c3069c /Modules/socketmodule.c | |
parent | 6a880a83132f06eedcab1f8e3769d3c3495e2dd7 (diff) | |
download | cpython-b9e8dcf2e0de3bdb96657921a142b474639955a2.zip cpython-b9e8dcf2e0de3bdb96657921a142b474639955a2.tar.gz cpython-b9e8dcf2e0de3bdb96657921a142b474639955a2.tar.bz2 |
Add missing NULL return value.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index f571c66..907cc7b 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -4995,7 +4995,7 @@ PyInit__socket(void) PyObject *tmp; tmp = PyLong_FromUnsignedLong(SIO_RCVALL); if (tmp == NULL) - return; + return NULL; PyModule_AddObject(m, "SIO_RCVALL", tmp); } PyModule_AddIntConstant(m, "RCVALL_OFF", RCVALL_OFF); |