summaryrefslogtreecommitdiff
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-06-11 05:59:46 +0000
committerMartin v. Löwis <martin@v.loewis.de>2008-06-11 05:59:46 +0000
commit0d806537bc0a966e6938c2ae09dc5f23521e1a66 (patch)
treeed95ce5c8440696e5636d6d831bc80d60df0964f /Modules/socketmodule.c
parent09e29c66fb7eb0c1f602cc4288e245d8e4df2a5b (diff)
downloadcpython-0d806537bc0a966e6938c2ae09dc5f23521e1a66.tar.gz
Add missing NULL return value.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index f571c66733..907cc7b671 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);