Commit e942df75 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

get the display host name properly

parent 91c8be36
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }