pollita Fri Apr 9 15:19:00 2004 EDT
Modified files:
/php-src/main network.c
Log:
BugFix: Copy/Paste mistake referenced undefined variable on platforms without
gettimeofday()
http://cvs.php.net/diff.php/php-src/main/network.c?r1=1.108&r2=1.109&ty=u
Index: php-src/main/network.c
diff -u php-src/main/network.c:1.108 php-src/main/network.c:1.109
--- php-src/main/network.c:1.108 Thu Jan 8 03:17:53 2004
+++ php-src/main/network.c Fri Apr 9 15:18:59 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: network.c,v 1.108 2004/01/08 08:17:53 andi Exp $ */
+/* $Id: network.c,v 1.109 2004/04/09 19:18:59 pollita Exp $ */
/*#define DEBUG_MAIN_NETWORK 1*/
@@ -826,7 +826,7 @@
}
}
#else
- if (err == PHP_TIMEOUT_ERROR_VALUE) {
+ if (error_code && *error_code == PHP_TIMEOUT_ERROR_VALUE) {
/* Don't even bother trying to connect to the next
alternative;
* we have no way to determine how long we have
already taken
* and it is quite likely that the next attempt will
fail too. */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php