[Python-checkins] python/dist/src/Modules socketmodule.c,1.223,1.224

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Fri, 07 Jun 2002 12:55:34 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv4796

Modified Files:
	socketmodule.c 
Log Message:
Move the conex_finally label up, so that the errno value is always
returned.


Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.223
retrieving revision 1.224
diff -C2 -d -r1.223 -r1.224
*** socketmodule.c	7 Jun 2002 03:36:20 -0000	1.223
--- socketmodule.c	7 Jun 2002 19:55:29 -0000	1.224
***************
*** 1463,1466 ****
--- 1463,1467 ----
  	}
  
+ conex_finally:
  	if (res != 0) {
  #ifdef MS_WINDOWS
***************
*** 1471,1475 ****
  	}
  
- conex_finally:
  	return PyInt_FromLong((long) res);
  }
--- 1472,1475 ----