commit | b9e8dcf2e0de3bdb96657921a142b474639955a2 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Wed Jun 11 05:59:46 2008 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Wed Jun 11 05:59:46 2008 +0000 |
tree | 9b1897e4ad0ca77ccdbbc97c7755eba5f2c3069c | |
parent | 6a880a83132f06eedcab1f8e3769d3c3495e2dd7 [diff] [blame] |
Add missing NULL return value.
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 @@ 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);