aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-29 21:29:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-29 21:29:24 +0000
commitdc46f535aed91031fa5e84440c04b3712153aff9 (patch)
tree15555258ce0c8784d607c754fbf35d1b718587c6
parent27fd5d6d6a75c9865507181e38c44ac88327a5cf (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.c2
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;