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 */