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:
parent
91c8be3628
commit
e942df755b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user