mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Add a missing break statement so that handling the above event does not
incorrectly destroy the channel. (issue #9242, andrew) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6703,6 +6703,7 @@ static int handle_init_event(struct zt_pvt *i, int event)
|
||||
"polarity reversal on non-FXO (SIG_FXS) "
|
||||
"interface %d\n", i->channel);
|
||||
}
|
||||
break;
|
||||
case ZT_EVENT_REMOVED: /* destroy channel */
|
||||
ast_log(LOG_NOTICE,
|
||||
"Got ZT_EVENT_REMOVED. Destroying channel %d\n",
|
||||
|
Reference in New Issue
Block a user