diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-05-07 06:18:47 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-05-07 06:18:47 +0000 |
commit | e942df755bdafd6089ce9b80c3f5b60bd7cf3496 (patch) | |
tree | b5876a278cb361b649f07093e6e82de2a7b12807 /lib | |
parent | 91c8be362833e0fd2ee36b904a4295c57cfbab10 (diff) |
get the display host name properly
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hostares.c | 2 |
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; } |