Commit 40766e55 authored by Simon Kelley's avatar Simon Kelley

Check all servers loopiness, when any subset is changed.

parent b5ea1cc2
...@@ -1297,14 +1297,14 @@ void mark_servers(int flag) ...@@ -1297,14 +1297,14 @@ void mark_servers(int flag)
/* mark everything with argument flag */ /* mark everything with argument flag */
for (serv = daemon->servers; serv; serv = serv->next) for (serv = daemon->servers; serv; serv = serv->next)
if (serv->flags & flag) {
{ if (serv->flags & flag)
serv->flags |= SERV_MARK; serv->flags |= SERV_MARK;
#ifdef HAVE_LOOP #ifdef HAVE_LOOP
/* Give looped servers another chance */ /* Give looped servers another chance */
serv->flags &= ~SERV_LOOP; serv->flags &= ~SERV_LOOP;
#endif #endif
} }
} }
void cleanup_servers(void) void cleanup_servers(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment