From dc46f535aed91031fa5e84440c04b3712153aff9 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Mon, 29 Mar 2004 21:29:24 +0000
Subject: [PATCH] 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...

---
 lib/hostip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/hostip.c b/lib/hostip.c
index 1bf8fd4a34..9e13423074 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;
-- 
GitLab