aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-08 22:08:28 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-08 22:08:28 +0000
commit9772ea1e47f56942023cc1ac1f4ed7326b598426 (patch)
tree6c3dec4329f92e6dc87cef5e665642cf23115520 /channels
parentbed204067b87aedc506e66cd347c8e770da67a70 (diff)
Merged revisions 58510 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r58510 | russell | 2007-03-08 16:06:54 -0600 (Thu, 08 Mar 2007) | 3 lines 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/trunk@58511 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 0715626b0..9ff2e52e4 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -7074,6 +7074,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",