mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 07:18:15 +00:00
Minor formatting change to test a mantis change ...
(issue #12674) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@117212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -488,8 +488,9 @@ void ast_begin_shutdown(int hangup)
|
|||||||
shutting_down = 1;
|
shutting_down = 1;
|
||||||
if (hangup) {
|
if (hangup) {
|
||||||
AST_RWLIST_RDLOCK(&channels);
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user