[Python-checkins] CVS: python/dist/src/Modules socketmodule.c,1.184,1.185

Martin v. L?wis loewis@users.sourceforge.net
Wed, 24 Oct 2001 10:35:48 -0700


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

Modified Files:
	socketmodule.c 
Log Message:
Fix typo. Thanks to Jack Jansen for spotting it.


Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.184
retrieving revision 1.185
diff -C2 -d -r1.184 -r1.185
*** socketmodule.c	2001/10/24 14:36:00	1.184
--- socketmodule.c	2001/10/24 17:35:46	1.185
***************
*** 623,627 ****
  	hints.ai_family = af;
  	error = getaddrinfo(name, NULL, &hints, &res);
!         if (error = EAI_NONAME && af == AF_UNSPEC) {
            /* On OSF/1 V5.1, numeric-to-addr conversion
               fails if no address family is given. Assume IPv4 for now.*/
--- 623,627 ----
  	hints.ai_family = af;
  	error = getaddrinfo(name, NULL, &hints, &res);
!         if (error == EAI_NONAME && af == AF_UNSPEC) {
            /* On OSF/1 V5.1, numeric-to-addr conversion
               fails if no address family is given. Assume IPv4 for now.*/