[Python-checkins] python/dist/src/Modules socketmodule.c,1.200.6.5,1.200.6.6
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Thu, 06 Jun 2002 13:11:17 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv2059
Modified Files:
Tag: release22-maint
socketmodule.c
Log Message:
Oops. That wasn't supposed to be backported. :-(
Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.200.6.5
retrieving revision 1.200.6.6
diff -C2 -d -r1.200.6.5 -r1.200.6.6
*** socketmodule.c 6 Jun 2002 20:10:16 -0000 1.200.6.5
--- socketmodule.c 6 Jun 2002 20:11:15 -0000 1.200.6.6
***************
*** 1801,1808 ****
new = type->tp_alloc(type, 0);
! if (new != NULL) {
((PySocketSockObject *)new)->sock_fd = -1;
- ((PySocketSockObject *)new)->errorhandler = &PySocket_Err;
- }
return new;
}
--- 1801,1806 ----
new = type->tp_alloc(type, 0);
! if (new != NULL)
((PySocketSockObject *)new)->sock_fd = -1;
return new;
}