[Python-3000-checkins] r64110 - python/branches/py3k/Modules/socketmodule.c
martin.v.loewis
python-3000-checkins at python.org
Wed Jun 11 07:59:46 CEST 2008
Author: martin.v.loewis
Date: Wed Jun 11 07:59:46 2008
New Revision: 64110
Log:
Add missing NULL return value.
Modified:
python/branches/py3k/Modules/socketmodule.c
Modified: python/branches/py3k/Modules/socketmodule.c
==============================================================================
--- python/branches/py3k/Modules/socketmodule.c (original)
+++ python/branches/py3k/Modules/socketmodule.c Wed Jun 11 07:59:46 2008
@@ -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);
More information about the Python-3000-checkins
mailing list