From b9e8dcf2e0de3bdb96657921a142b474639955a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 11 Jun 2008 05:59:46 +0000 Subject: Add missing NULL return value. --- Modules/socketmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v0.12