Add missing NULL return value.

This commit is contained in:
Martin v. Löwis 2008-06-11 05:59:46 +00:00
parent 6a880a8313
commit b9e8dcf2e0

View file

@ -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);