jani Fri Jul 11 13:12:18 2008 UTC
Modified files: (Branch: PHP_5_2)
/php-src/main network.c
Log:
MFH: silence warning
http://cvs.php.net/viewvc.cgi/php-src/main/network.c?r1=1.118.2.2.2.9&r2=1.118.2.2.2.10&diff_format=u
Index: php-src/main/network.c
diff -u php-src/main/network.c:1.118.2.2.2.9
php-src/main/network.c:1.118.2.2.2.10
--- php-src/main/network.c:1.118.2.2.2.9 Tue Mar 11 10:27:23 2008
+++ php-src/main/network.c Fri Jul 11 13:12:18 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: network.c,v 1.118.2.2.2.9 2008/03/11 10:27:23 tony2001 Exp $ */
+/* $Id: network.c,v 1.118.2.2.2.10 2008/07/11 13:12:18 jani Exp $ */
/*#define DEBUG_MAIN_NETWORK 1*/
@@ -162,7 +162,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