[svn-commits] file: branch file/bridging r171526 - /team/file/bridging/bridges/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Jan 27 07:18:06 CST 2009
Author: file
Date: Tue Jan 27 07:18:06 2009
New Revision: 171526
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=171526
Log:
Fix an issue where the multiplexed bridge was poked and a channel was inadvertently removed. Now we only remove them when we have been explicitly told to.
Modified:
team/file/bridging/bridges/bridge_multiplexed.c
Modified: team/file/bridging/bridges/bridge_multiplexed.c
URL: http://svn.digium.com/svn-view/asterisk/team/file/bridging/bridges/bridge_multiplexed.c?view=diff&rev=171526&r1=171525&r2=171526
==============================================================================
--- team/file/bridging/bridges/bridge_multiplexed.c (original)
+++ team/file/bridging/bridges/bridge_multiplexed.c Tue Jan 27 07:18:06 2009
@@ -193,8 +193,10 @@
for (i = 0; i < MULTIPLEXED_MAX_CHANNELS; i++) {
if (multiplexed_thread->chans[i] == chan) {
- multiplexed_thread->chans[i] = NULL;
- multiplexed_thread->service_count--;
+ if (!add) {
+ multiplexed_thread->chans[i] = NULL;
+ multiplexed_thread->service_count--;
+ }
break;
} else if (!multiplexed_thread->chans[i] && add) {
multiplexed_thread->chans[i] = chan;
More information about the svn-commits
mailing list