diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hostip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/hostip.c b/lib/hostip.c index 23bd532f3..bae94af7a 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -409,10 +409,9 @@ CURLcode Curl_is_resolved(struct connectdata *conn, bool *done) ares_process(data->state.areschannel, &read_fds, &write_fds); if(conn->async.done) { - *done = TRUE; - if(!conn->async.dns) return CURLE_COULDNT_RESOLVE_HOST; + *done = TRUE; } else *done = FALSE; |