aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/asyn-ares.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/asyn-ares.c b/lib/asyn-ares.c
index 0b454849d..1028583ca 100644
--- a/lib/asyn-ares.c
+++ b/lib/asyn-ares.c
@@ -610,6 +610,7 @@ CURLcode Curl_set_dns_servers(struct SessionHandle *data,
int ares_result = ares_set_servers_csv(data->state.resolver, servers);
switch(ares_result) {
case ARES_SUCCESS:
+ result = CURLE_OK;
break;
case ARES_ENOMEM:
result = CURLE_OUT_OF_MEMORY;