[svn-commits] rmudgett: trunk r393601 - /trunk/main/bridging.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Jul 3 17:07:26 CDT 2013
Author: rmudgett
Date: Wed Jul 3 17:07:25 2013
New Revision: 393601
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=393601
Log:
Move when bridge channel enter is published so it does not interrupt the thought of some lines of code.
Modified:
trunk/main/bridging.c
Modified: trunk/main/bridging.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/bridging.c?view=diff&rev=393601&r1=393600&r2=393601
==============================================================================
--- trunk/main/bridging.c (original)
+++ trunk/main/bridging.c Wed Jul 3 17:07:25 2013
@@ -710,12 +710,10 @@
bridge_channel->just_joined = 1;
AST_LIST_INSERT_TAIL(&bridge->channels, bridge_channel, entry);
++bridge->num_channels;
-
- ast_bridge_publish_enter(bridge, bridge_channel->chan);
-
if (!bridge_channel->suspended) {
++bridge->num_active;
}
+ ast_bridge_publish_enter(bridge, bridge_channel->chan);
if (swap) {
ast_bridge_change_state(swap, AST_BRIDGE_CHANNEL_STATE_HANGUP);
bridge_channel_pull(swap);
More information about the svn-commits
mailing list