[asterisk-commits] russell: branch 1.4 r256009 - /branches/1.4/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Apr 2 18:30:18 CDT 2010


Author: russell
Date: Fri Apr  2 18:30:15 2010
New Revision: 256009

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=256009
Log:
Remove extremely verbose debug message.

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=256009&r1=256008&r2=256009
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Fri Apr  2 18:30:15 2010
@@ -2541,10 +2541,7 @@
 
 int ast_internal_timing_enabled(struct ast_channel *chan)
 {
-	int ret = ast_opt_internal_timing && chan->timingfd > -1;
-	if (option_debug > 4)
-		ast_log(LOG_DEBUG, "Internal timing is %s (option_internal_timing=%d chan->timingfd=%d)\n", ret? "enabled": "disabled", ast_opt_internal_timing, chan->timingfd);
-	return ret;
+	return (ast_opt_internal_timing && chan->timingfd > -1);
 }
 
 struct ast_frame *ast_read(struct ast_channel *chan)




More information about the asterisk-commits mailing list