continue;
match = dns_scope_good_domain(s, q->ifindex, q->flags, name);
- if (match < 0) {
- log_debug("Couldn't check if '%s' matches against scope, ignoring.", name);
- continue;
- }
-
+ assert(match >= 0);
if (match > found) { /* Does this match better? If so, remember how well it matched, and the first one
* that matches this well */
found = match;
continue;
match = dns_scope_good_domain(s, q->ifindex, q->flags, name);
- if (match < 0) {
- log_debug("Couldn't check if '%s' matches against scope, ignoring.", name);
- continue;
- }
-
+ assert(match >= 0);
if (match < found)
continue;