[asterisk-commits] russell: branch 1.4 r58510 - /branches/1.4/channels/chan_zap.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Mar 8 15:06:55 MST 2007


Author: russell
Date: Thu Mar  8 16:06:54 2007
New Revision: 58510

URL: http://svn.digium.com/view/asterisk?view=rev&rev=58510
Log:
Add a missing break statement so that handling the above event does not
incorrectly destroy the channel. (issue #9242, andrew)

Modified:
    branches/1.4/channels/chan_zap.c

Modified: branches/1.4/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_zap.c?view=diff&rev=58510&r1=58509&r2=58510
==============================================================================
--- branches/1.4/channels/chan_zap.c (original)
+++ branches/1.4/channels/chan_zap.c Thu Mar  8 16:06:54 2007
@@ -6703,6 +6703,7 @@
 				"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", 



More information about the asterisk-commits mailing list