The select() timeout is better not static since some implementation actually

might change it. I don't *think* it does it when the timeout is 0,0 but it
is better to be sure...
This commit is contained in:
Daniel Stenberg 2004-03-29 21:29:24 +00:00
parent 27fd5d6d6a
commit dc46f535ae

View File

@ -478,7 +478,7 @@ CURLcode Curl_is_resolved(struct connectdata *conn,
struct Curl_dns_entry **dns)
{
fd_set read_fds, write_fds;
static const struct timeval tv={0,0};
struct timeval tv={0,0};
int count;
struct SessionHandle *data = conn->data;
int nfds;