cvs: php-src /main/streams transports.c
| From: | Wez Furlong | Date: | Sat, 28 Jun 2003 11:06:11 +0000 |
| Subject: | cvs: php-src /main/streams transports.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-22116@lists.php.net to get a copy of this message | ||
wez Sat Jun 28 07:06:11 2003 EDT
Modified files:
/php-src/main/streams transports.c
Log:
Fix for mips compiler
Index: php-src/main/streams/transports.c
diff -u php-src/main/streams/transports.c:1.4 php-src/main/streams/transports.c:1.5
--- php-src/main/streams/transports.c:1.4 Tue Jun 10 16:03:42 2003
+++ php-src/main/streams/transports.c Sat Jun 28 07:06:11 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: transports.c,v 1.4 2003/06/10 20:03:42 imajes Exp $ */
+/* $Id: transports.c,v 1.5 2003/06/28 11:06:11 wez Exp $ */
#include "php.h"
#include "php_streams_int.h"
@@ -62,7 +62,9 @@
const char *p, *protocol = NULL;
int n = 0, failed = 0;
char *error_text = NULL;
- struct timeval default_timeout = { FG(default_socket_timeout), 0 };
+ struct timeval default_timeout = { 0, 0 };
+
+ default_timeout.tv_sec = FG(default_socket_timeout);
if (timeout == NULL) {
timeout = &default_timeout;