Fix for mips compiler

This commit is contained in:
Wez Furlong 2003-06-28 11:06:11 +00:00
parent 12cf3ec385
commit c0c20ef6f6

View File

@ -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;