1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

get the display host name properly

This commit is contained in:
Daniel Stenberg 2004-05-07 06:18:47 +00:00
parent 91c8be3628
commit e942df755b

View File

@ -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;
}