[asterisk-commits] file: branch file/bridging r111845 - /team/file/bridging/main/bridging.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Mar 28 15:24:08 CDT 2008


Author: file
Date: Fri Mar 28 15:24:07 2008
New Revision: 111845

URL: http://svn.digium.com/view/asterisk?view=rev&rev=111845
Log:
Change a debug message to an error message. If this happens something has critically gone wrong and we need to know.

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=111845&r1=111844&r2=111845
==============================================================================
--- team/file/bridging/main/bridging.c (original)
+++ team/file/bridging/main/bridging.c Fri Mar 28 15:24:07 2008
@@ -266,7 +266,7 @@
 
 	/* It should never be possible for us to get called without at least one channel in our bridge but just in case... */
 	if (AST_LIST_EMPTY(&bridge->channels)) {
-		ast_debug(1, "Unable to execute thread for bridge %p, no channels are in it.\n", bridge);
+		ast_log(LOG_ERROR, "We aren't even going to try to start the bridge function for bridge %p, no channels are in it. Something has gone terribly wrong.\n", bridge);
 		ast_mutex_unlock(&bridge->lock);
 		return NULL;
 	}




More information about the asterisk-commits mailing list