From: Daniel Stenberg Date: Fri, 7 May 2004 06:18:47 +0000 (+0000) Subject: get the display host name properly X-Git-Tag: curl-7_12_0~166 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e942df755bdafd6089ce9b80c3f5b60bd7cf3496;p=thirdparty%2Fcurl.git get the display host name properly --- diff --git a/lib/hostares.c b/lib/hostares.c index 02212a2c36..dcc94a0a4c 100644 --- a/lib/hostares.c +++ b/lib/hostares.c @@ -152,7 +152,7 @@ CURLcode Curl_is_resolved(struct connectdata *conn, if(conn->async.done) { /* we're done, kill the ares handle */ if(!conn->async.dns) { - failf(data, "Could not resolve host: %s (%s)", conn->name, + failf(data, "Could not resolve host: %s (%s)", conn->host.dispname, ares_strerror(conn->async.status)); return CURLE_COULDNT_RESOLVE_HOST; }