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:
parent
27fd5d6d6a
commit
dc46f535ae
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user