[Python-checkins] python/dist/src/Modules socketmodule.c,1.232,1.233

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Thu, 18 Jul 2002 15:38:46 -0700


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

Modified Files:
	socketmodule.c 
Log Message:
A Python float is a C double; redeclare defaulttimeout as such; stops
compiler wngs on Windows.


Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.232
retrieving revision 1.233
diff -C2 -d -r1.232 -r1.233
*** socketmodule.c	18 Jul 2002 21:11:26 -0000	1.232
--- socketmodule.c	18 Jul 2002 22:38:44 -0000	1.233
***************
*** 524,528 ****
  /* Initialize a new socket object. */
  
! static float defaulttimeout = -1.0; /* Default timeout for new sockets */
  
  static void
--- 524,528 ----
  /* Initialize a new socket object. */
  
! static double defaulttimeout = -1.0; /* Default timeout for new sockets */
  
  static void