diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-29 21:29:24 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-29 21:29:24 +0000 |
commit | dc46f535aed91031fa5e84440c04b3712153aff9 (patch) | |
tree | 15555258ce0c8784d607c754fbf35d1b718587c6 | |
parent | 27fd5d6d6a75c9865507181e38c44ac88327a5cf (diff) |
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...
-rw-r--r-- | lib/hostip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c index 1bf8fd4a3..9e1342307 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -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; |