diff Modules/socketmodule.c @ 23713:2b1219a72efc 2.2

Oops. That wasn't supposed to be backported. :-(
author Guido van Rossum <guido@python.org>
date Thu, 06 Jun 2002 20:11:15 +0000
parents 28b9971f068f
children 4708c09f0350
line wrap: on
line diff
--- a/Modules/socketmodule.c	Thu Jun 06 20:10:16 2002 +0000
+++ b/Modules/socketmodule.c	Thu Jun 06 20:11:15 2002 +0000
@@ -1800,10 +1800,8 @@
 	PyObject *new;
 
 	new = type->tp_alloc(type, 0);
-	if (new != NULL) {
+	if (new != NULL)
 		((PySocketSockObject *)new)->sock_fd = -1;
-		((PySocketSockObject *)new)->errorhandler = &PySocket_Err;
-	}
 	return new;
 }