]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
fix another error introduced in previously mentioned commit
authorYang Tse <yangsita@gmail.com>
Fri, 3 Oct 2008 02:25:52 +0000 (02:25 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 3 Oct 2008 02:25:52 +0000 (02:25 +0000)
lib/hostip.c

index a62e361c4b9af11ab24c3c8b427f4671f7381e3c..8d82b2e488c53db3efcc40eaaffc0a2a108513eb 100644 (file)
@@ -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 */