[asterisk-commits] jpeeler: branch 1.4 r231926 - /branches/1.4/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Dec 1 15:52:42 CST 2009


Author: jpeeler
Date: Tue Dec  1 15:52:39 2009
New Revision: 231926

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=231926
Log:
log channel name in dev mode as well

Modified:
    branches/1.4/main/channel.c

Modified: branches/1.4/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/channel.c?view=diff&rev=231926&r1=231925&r2=231926
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Tue Dec  1 15:52:39 2009
@@ -2517,7 +2517,7 @@
 		/* fix invalid pointer */
 		f->data = NULL;
 #ifdef AST_DEVMODE
-		ast_log(LOG_ERROR, "Found frame with src '%s' with datalen zero, but non-null data pointer!\n", f->src);
+		ast_log(LOG_ERROR, "Found frame with src '%s' on channel '%s' with datalen zero, but non-null data pointer!\n", f->src, chan->name);
 		ast_frame_dump(chan->name, f, "<<");
 #else
 		ast_debug(3, "Found frame with src '%s' on channel '%s' with datalen zero, but non-null data pointer!\n", f->src, chan->name);




More information about the asterisk-commits mailing list