aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-08 22:06:54 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-08 22:06:54 +0000
commit1a5d04b3608cc7cd277dd9d1632ff4b58f74985f (patch)
tree3af261e0be87788f27676618d6b86229bbcccebd /channels
parent5eeba10bf0a2a9c23da5e4ed8ab68433333c109f (diff)
Add a missing break statement so that handling the above event does not
incorrectly destroy the channel. (issue #9242, andrew) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58510 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_zap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index cee849520..79ae82c6d 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -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",