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)
/* mark everything with argument flag */
for (serv = daemon->servers; serv; serv = serv->next)
if (serv->flags & flag)
{
{
if (serv->flags & flag)
serv->flags |= SERV_MARK;
#ifdef HAVE_LOOP
/* Give looped servers another chance */
serv->flags &= ~SERV_LOOP;
/* Give looped servers another chance */
serv->flags &= ~SERV_LOOP;
#endif
}
}
}
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