aboutsummaryrefslogtreecommitdiff
path: root/lib/hostares.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-05-07 18:56:33 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-05-07 18:56:33 +0000
commit445c7791a705ab7eb48d6e7869c871fc4f724a49 (patch)
treebd76a14bb5727b8980436d6873e7b21dfaac2c2b /lib/hostares.c
parent686ba8412879a816479b840a0c811cd2d77bccf9 (diff)
James Bursa changed two error message to use the display-name instead of the
internally-used name.
Diffstat (limited to 'lib/hostares.c')
-rw-r--r--lib/hostares.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostares.c b/lib/hostares.c
index dcc94a0a4..f0e98ad35 100644
--- a/lib/hostares.c
+++ b/lib/hostares.c
@@ -236,11 +236,11 @@ CURLcode Curl_wait_for_resolv(struct connectdata *conn,
if(!conn->async.dns) {
/* a name was not resolved */
if((timeout < 0) || (conn->async.status == ARES_ETIMEOUT)) {
- failf(data, "Resolving host timed out: %s", conn->host.name);
+ failf(data, "Resolving host timed out: %s", conn->host.dispname);
rc = CURLE_OPERATION_TIMEDOUT;
}
else if(conn->async.done) {
- failf(data, "Could not resolve host: %s (%s)", conn->host.name,
+ failf(data, "Could not resolve host: %s (%s)", conn->host.dispname,
ares_strerror(conn->async.status));
rc = CURLE_COULDNT_RESOLVE_HOST;
}