resolve: undo change to return code of next_search_domain() (#39119)

This caused resolved to only consider the 1st search domain of every
interface and ignore the rest.

Fixes a regression caused by 81ae2237c1 (v258).
Fixes #39118.
This commit is contained in:
Mantas Mikulėnas
2025-09-25 22:52:18 +03:00
committed by GitHub
parent aaca6bd5d9
commit 6cae201ca1

View File

@@ -147,7 +147,7 @@ static int dns_query_candidate_next_search_domain(DnsQueryCandidate *c) {
dns_search_domain_unref(c->search_domain);
c->search_domain = dns_search_domain_ref(next);
return 0;
return 1;
}
static int dns_query_candidate_add_transaction(