diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-20 09:46:10 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-20 09:46:10 +0000 |
commit | dc25cd6f3a58be82c1deac6bf0c07e8d38021a87 (patch) | |
tree | afc40a1669f3e469d7b5d087de944cde1c2ea49a /lib/hostip.c | |
parent | 0e31d41d4e1cc5c4c9945e152215a4a6198a865b (diff) | |
download | curl-dc25cd6f3a58be82c1deac6bf0c07e8d38021a87.tar.gz |
cleanup leftovers
Diffstat (limited to 'lib/hostip.c')
-rw-r--r-- | lib/hostip.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/hostip.c b/lib/hostip.c index ccecf7267..575f4ac98 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -672,11 +672,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->name); + failf(data, "Resolving host timed out: %s", conn->hostname); rc = CURLE_OPERATION_TIMEDOUT; } else if(conn->async.done) { - failf(data, "Could not resolve host: %s (%s)", conn->name, + failf(data, "Could not resolve host: %s (%s)", conn->hostname, ares_strerror(conn->async.status)); rc = CURLE_COULDNT_RESOLVE_HOST; } @@ -1518,12 +1518,12 @@ CURLcode Curl_wait_for_resolv(struct connectdata *conn, if (!conn->async.dns) { /* a name was not resolved */ if (td->thread_status == (DWORD)-1 || conn->async.status == NO_DATA) { - failf(data, "Resolving host timed out: %s", conn->name); + failf(data, "Resolving host timed out: %s", conn->hostname); rc = CURLE_OPERATION_TIMEDOUT; } else if(conn->async.done) { failf(data, "Could not resolve host: %s; %s", - conn->name, Curl_strerror(conn,conn->async.status)); + conn->hostname, Curl_strerror(conn,conn->async.status)); rc = CURLE_COULDNT_RESOLVE_HOST; } else |