From e942df755bdafd6089ce9b80c3f5b60bd7cf3496 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 7 May 2004 06:18:47 +0000 Subject: get the display host name properly --- lib/hostares.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hostares.c b/lib/hostares.c index 02212a2c3..dcc94a0a4 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; } -- cgit v1.2.3