Check all servers loopiness, when any subset is changed.
diff --git a/src/network.c b/src/network.c
index 9c46b8a..5067007 100644
--- a/src/network.c
+++ b/src/network.c
@@ -1297,14 +1297,14 @@
/* 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)