jani Fri Jul 11 13:11:49 2008 UTC
Modified files: (Branch: PHP_5_3)
/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.6.2.6&r2=1.118.2.2.2.6.2.7&diff_format=u
Index: php-src/main/network.c
diff -u php-src/main/network.c:1.118.2.2.2.6.2.6
php-src/main/network.c:1.118.2.2.2.6.2.7
--- php-src/main/network.c:1.118.2.2.2.6.2.6 Tue Mar 11 10:27:10 2008
+++ php-src/main/network.c Fri Jul 11 13:11:49 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: network.c,v 1.118.2.2.2.6.2.6 2008/03/11 10:27:10 tony2001 Exp $ */
+/* $Id: network.c,v 1.118.2.2.2.6.2.7 2008/07/11 13:11:49 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