Skip to content

Commit

Permalink
If there are socket errors then proceed to next nameserver
Browse files Browse the repository at this point in the history
  • Loading branch information
daurnimator committed Mar 9, 2017
1 parent 7529e2b commit c6f6bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dns.c
Original file line number Diff line number Diff line change
Expand Up @@ -7543,7 +7543,7 @@ static int dns_res_exec(struct dns_resolver *R) {
dgoto(R->sp, DNS_R_FOREACH_A);

if ((error = dns_so_check(&R->so)))
goto error;
dgoto(R->sp, DNS_R_FOREACH_NS);

if (!dns_p_setptr(&F->answer, dns_so_fetch(&R->so, &error)))
goto error;
Expand Down

0 comments on commit c6f6bbe

Please sign in to comment.