aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-05-20 22:11:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-05-20 22:11:47 +0000
commitd7616d8a0a804530e5bb1bb04b24de46d9258e3e (patch)
tree0e118bbd18420d1750659fc5b51b7b3d361eb6e1
parent826bbfc01c2e157ac35a53c41fc6caa8255e4773 (diff)
WaitForSingleObject() uses a millisecond timeout and CURL_TIMEOUT_RESOLVE is
counted in seconds...
-rw-r--r--lib/hostthre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostthre.c b/lib/hostthre.c
index bd7a483c2..15f6b3fd7 100644
--- a/lib/hostthre.c
+++ b/lib/hostthre.c
@@ -595,7 +595,7 @@ CURLcode Curl_wait_for_resolv(struct connectdata *conn,
timeout =
conn->data->set.connecttimeout ? conn->data->set.connecttimeout :
conn->data->set.timeout ? conn->data->set.timeout :
- CURL_TIMEOUT_RESOLVE; /* default name resolve timeout */
+ CURL_TIMEOUT_RESOLVE * 1000; /* default name resolve timeout */
ticks = GetTickCount();
/* wait for the thread to resolve the name */