]> granicus.if.org Git - curl/commitdiff
get the display host name properly
authorDaniel Stenberg <daniel@haxx.se>
Fri, 7 May 2004 06:18:47 +0000 (06:18 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 7 May 2004 06:18:47 +0000 (06:18 +0000)
lib/hostares.c

index 02212a2c36e09d90e678bbdd82c3cb36eb9c21ab..dcc94a0a4c47d069eccfd605d2a437503938343b 100644 (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;
     }