[svn-commits] file: branch file/bridging r79139 - /team/file/bridging/main/bridging.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Aug 10 18:20:37 CDT 2007


Author: file
Date: Fri Aug 10 18:20:37 2007
New Revision: 79139

URL: http://svn.digium.com/view/asterisk?view=rev&rev=79139
Log:
Don't touch the bridged channel if suspended and running in multithreaded.

Modified:
    team/file/bridging/main/bridging.c

Modified: team/file/bridging/main/bridging.c
URL: http://svn.digium.com/view/asterisk/team/file/bridging/main/bridging.c?view=diff&rev=79139&r1=79138&r2=79139
==============================================================================
--- team/file/bridging/main/bridging.c (original)
+++ team/file/bridging/main/bridging.c Fri Aug 10 18:20:37 2007
@@ -368,7 +368,8 @@
 			break;
 
 		/* Wait for data on any of the file descriptors */
-		chan = ast_waitfor_nandfds(&bridge_channel->chan, 1, fds, nfds, NULL, &outfd, &ms);
+		if (!bridge_channel->suspended)
+			chan = ast_waitfor_nandfds(&bridge_channel->chan, 1, fds, nfds, NULL, &outfd, &ms);
 
 		if (bridge_channel->state != AST_BRIDGE_CHANNEL_STATE_WAIT)
 			break;




More information about the svn-commits mailing list