jani            Fri Jul 11 13:11:37 2008 UTC

  Modified files:              
    /php-src/main       network.c 
  Log:
  - Silence "unused variable" warning when ip6 support is disabled
  
http://cvs.php.net/viewvc.cgi/php-src/main/network.c?r1=1.133&r2=1.134&diff_format=u
Index: php-src/main/network.c
diff -u php-src/main/network.c:1.133 php-src/main/network.c:1.134
--- php-src/main/network.c:1.133        Tue Mar 11 10:26:51 2008
+++ php-src/main/network.c      Fri Jul 11 13:11:37 2008
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: network.c,v 1.133 2008/03/11 10:26:51 tony2001 Exp $ */
+/* $Id: network.c,v 1.134 2008/07/11 13:11:37 jani Exp $ */
 
 /*#define DEBUG_MAIN_NETWORK 1*/
 
@@ -167,7 +167,9 @@
        struct sockaddr **sap;
        int n;
 #if HAVE_GETADDRINFO
+# if HAVE_IPV6
        static int ipv6_borked = -1; /* the way this is used *is* thread safe */
+# endif
        struct addrinfo hints, *res, *sai;
 #else
        struct hostent *host_info;



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

Reply via email to