Minor formatting change to test a mantis change ...
[asterisk/asterisk.git] / main / channel.c
index 745d0cf..ae005cf 100644 (file)
@@ -488,8 +488,9 @@ void ast_begin_shutdown(int hangup)
        shutting_down = 1;
        if (hangup) {
                AST_RWLIST_RDLOCK(&channels);
        shutting_down = 1;
        if (hangup) {
                AST_RWLIST_RDLOCK(&channels);
-               AST_RWLIST_TRAVERSE(&channels, c, chan_list)
+               AST_RWLIST_TRAVERSE(&channels, c, chan_list) {
                        ast_softhangup(c, AST_SOFTHANGUP_SHUTDOWN);
                        ast_softhangup(c, AST_SOFTHANGUP_SHUTDOWN);
+               }
                AST_RWLIST_UNLOCK(&channels);
        }
 }
                AST_RWLIST_UNLOCK(&channels);
        }
 }