diff Modules/socketmodule.c @ 47583:b82e0545d111

Add missing NULL return value.
author Martin v. Löwis <martin@v.loewis.de>
date Wed, 11 Jun 2008 05:59:46 +0000
parents 94f64f11fdd0
children 92b79b6d1a3b
line wrap: on
line diff
--- a/Modules/socketmodule.c	Wed Jun 11 05:48:29 2008 +0000
+++ b/Modules/socketmodule.c	Wed Jun 11 05:59:46 2008 +0000
@@ -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);