mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
Fix for mips compiler
This commit is contained in:
parent
12cf3ec385
commit
c0c20ef6f6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user