[asterisk-commits] russell: trunk r58511 - in /trunk: ./ channels/chan_zap.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Mar 8 15:08:29 MST 2007


Author: russell
Date: Thu Mar  8 16:08:28 2007
New Revision: 58511

URL: http://svn.digium.com/view/asterisk?view=rev&rev=58511
Log:
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)

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_zap.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=58511&r1=58510&r2=58511
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Thu Mar  8 16:08:28 2007
@@ -7074,6 +7074,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