projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
015fc6a
)
a name resolve that times out is still a failed name resolve
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 27 Sep 2007 12:05:39 +0000
(12:05 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 27 Sep 2007 12:05:39 +0000
(12:05 +0000)
lib/hostares.c
patch
|
blob
|
history
diff --git
a/lib/hostares.c
b/lib/hostares.c
index
9385da2
..
4c49411
100644
(file)
--- a/
lib/hostares.c
+++ b/
lib/hostares.c
@@
-278,7
+278,7
@@
CURLcode Curl_wait_for_resolv(struct connectdata *conn,
/* a name was not resolved */
if((timeout < 0) || (conn->async.status == ARES_ETIMEOUT)) {
failf(data, "Resolving host timed out: %s", conn->host.dispname);
- rc = CURLE_
OPERATION_TIMEDOU
T;
+ rc = CURLE_
COULDNT_RESOLVE_HOS
T;
}
else if(conn->async.done) {
failf(data, "Could not resolve host: %s (%s)", conn->host.dispname,