diff options
author | Wez Furlong <wez@php.net> | 2003-06-28 11:06:11 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2003-06-28 11:06:11 +0000 |
commit | c0c20ef6f6936630f878185dd1a8b82b68d132a1 (patch) | |
tree | 5dc9baabb763675cbf8bb37d12257b3ab72400da | |
parent | 12cf3ec385c4a883325c0f25628ba8066afc2b93 (diff) | |
download | php-git-c0c20ef6f6936630f878185dd1a8b82b68d132a1.tar.gz |
Fix for mips compiler
-rw-r--r-- | main/streams/transports.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/streams/transports.c b/main/streams/transports.c index 24811067ed..501bdfd7b0 100644 --- a/main/streams/transports.c +++ b/main/streams/transports.c @@ -62,7 +62,9 @@ PHPAPI php_stream *_php_stream_xport_create(const char *name, long namelen, int 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; |