mirror of
https://github.com/curl/curl.git
synced 2025-09-16 17:12:43 +03:00
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)
|
struct Curl_dns_entry **dns)
|
||||||
{
|
{
|
||||||
fd_set read_fds, write_fds;
|
fd_set read_fds, write_fds;
|
||||||
static const struct timeval tv={0,0};
|
struct timeval tv={0,0};
|
||||||
int count;
|
int count;
|
||||||
struct SessionHandle *data = conn->data;
|
struct SessionHandle *data = conn->data;
|
||||||
int nfds;
|
int nfds;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user