summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/domain-match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/domain-match.c b/src/domain-match.c
index 7bf3d5a..6f59566 100644
--- a/src/domain-match.c
+++ b/src/domain-match.c
@@ -630,7 +630,7 @@ int add_update_server(int flags,
/* See if there is a suitable candidate, and unmark
only do this for forwarding servers, not
address or local, to avoid delays on large numbers. */
- if (flags & SERV_IS_LOCAL)
+ if (!(flags & SERV_IS_LOCAL))
for (serv = daemon->servers; serv; serv = serv->next)
if ((serv->flags & SERV_MARK) &&
hostname_isequal(alloc_domain, serv->domain))