aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/hostares.c2
1 files changed, 1 insertions, 1 deletions
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;
}