[asterisk-commits] trunk r15702 - /trunk/channels/chan_iax2.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Mar 28 12:31:48 MST 2006
Author: russell
Date: Tue Mar 28 13:31:41 2006
New Revision: 15702
URL: http://svn.digium.com/view/asterisk?rev=15702&view=rev
Log:
only display a debug message if iaxdebug is enabled as well (issue #6673)
Modified:
trunk/channels/chan_iax2.c
Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?rev=15702&r1=15701&r2=15702&view=diff
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Tue Mar 28 13:31:41 2006
@@ -6735,7 +6735,7 @@
if (iaxs[fr.callno]->last < fr.ts) {
iaxs[fr.callno]->last = fr.ts;
#if 1
- if (option_debug)
+ if (option_debug && iaxdebug)
ast_log(LOG_DEBUG, "For call=%d, set last=%d\n", fr.callno, fr.ts);
#endif
}
More information about the asterisk-commits
mailing list