From: Daniel Stenberg Date: Thu, 27 Sep 2007 12:05:39 +0000 (+0000) Subject: a name resolve that times out is still a failed name resolve X-Git-Tag: curl-7_17_1~183 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4d6611d26c68c2417a2cd73ab22c405de00cb4c;p=thirdparty%2Fcurl.git a name resolve that times out is still a failed name resolve --- diff --git a/lib/hostares.c b/lib/hostares.c index 9385da2315..4c49411ae5 100644 --- a/lib/hostares.c +++ b/lib/hostares.c @@ -278,7 +278,7 @@ CURLcode Curl_wait_for_resolv(struct connectdata *conn, /* a name was not resolved */ if((timeout < 0) || (conn->async.status == ARES_ETIMEOUT)) { failf(data, "Resolving host timed out: %s", conn->host.dispname); - rc = CURLE_OPERATION_TIMEDOUT; + rc = CURLE_COULDNT_RESOLVE_HOST; } else if(conn->async.done) { failf(data, "Could not resolve host: %s (%s)", conn->host.dispname,