aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-03 02:25:52 +0000
committerYang Tse <yangsita@gmail.com>2008-10-03 02:25:52 +0000
commitaec761916e912620ecfae7aa5ccf96b2b7f99538 (patch)
tree4b03b71d5d1e2fbf39e9c48521d18351b995e603
parent7d750d2b92e0286bff214aabe0ceb2bb8596e7db (diff)
fix another error introduced in previously mentioned commit
-rw-r--r--lib/hostip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index a62e361c4..8d82b2e48 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -595,7 +595,7 @@ int Curl_resolv_timeout(struct connectdata *conn,
#else
#ifndef CURLRES_ASYNCH
- if(timeout)
+ if(timeoutms)
infof(conn->data, "timeout on name lookup is not supported\n");
#else
(void)timeoutms; /* timeoutms not used with an async resolver */