[asterisk-commits] rmudgett: branch 1.8 r289253 - /branches/1.8/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 29 11:16:51 CDT 2010


Author: rmudgett
Date: Wed Sep 29 11:16:47 2010
New Revision: 289253

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=289253
Log:
Make development error message indicate which channel.

Modified:
    branches/1.8/main/channel.c

Modified: branches/1.8/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/channel.c?view=diff&rev=289253&r1=289252&r2=289253
==============================================================================
--- branches/1.8/main/channel.c (original)
+++ branches/1.8/main/channel.c Wed Sep 29 11:16:47 2010
@@ -3624,7 +3624,9 @@
 	 * this happens so that it can be addressed. 
 	 */
 	if (chan->fdno == -1) {
-		ast_log(LOG_ERROR, "ast_read() called with no recorded file descriptor.\n");
+		ast_log(LOG_ERROR,
+			"ast_read() on chan '%s' called with no recorded file descriptor.\n",
+			chan->name);
 	}
 #endif
 




More information about the asterisk-commits mailing list