tony2001                Sat Dec  3 18:24:09 2005 EDT

  Modified files:              
    /php-src/ext/sockets        sockets.c 
  Log:
  yet another compile warning
  
  
http://cvs.php.net/diff.php/php-src/ext/sockets/sockets.c?r1=1.173&r2=1.174&ty=u
Index: php-src/ext/sockets/sockets.c
diff -u php-src/ext/sockets/sockets.c:1.173 php-src/ext/sockets/sockets.c:1.174
--- php-src/ext/sockets/sockets.c:1.173 Thu Dec  1 09:03:51 2005
+++ php-src/ext/sockets/sockets.c       Sat Dec  3 18:24:07 2005
@@ -19,7 +19,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: sockets.c,v 1.173 2005/12/01 14:03:51 tony2001 Exp $ */
+/* $Id: sockets.c,v 1.174 2005/12/03 23:24:07 tony2001 Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1504,7 +1504,9 @@
        zval                    *arg1;
        struct linger   linger_val;
        struct timeval          tv;
+#ifdef PHP_WIN32
        int                             timeout = 0;
+#endif
        socklen_t               optlen;
        php_socket              *php_sock;
        int                             other_val;
@@ -1579,7 +1581,10 @@
        struct linger   lv;
        struct timeval tv;
        php_socket              *php_sock;
-       int                             ov, optlen, retval, timeout;
+       int                             ov, optlen, retval; 
+#ifdef PHP_WIN32
+       int                             timeout;
+#endif
        long                            level, optname;
        void                    *opt_ptr;
        

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to