aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-28 19:31:41 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-28 19:31:41 +0000
commit02463d0f1cc2429d697cec82774635fcb01316fe (patch)
tree65d5d383e0531d56aefca2d5edbe37a91647d4a0 /channels
parent5e52519148f7ac01ef78b99e4901e47c294a4a56 (diff)
only display a debug message if iaxdebug is enabled as well (issue #6673)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15702 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_iax2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index 0ff1c3524..f00167b4f 100644
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -6735,7 +6735,7 @@ static int socket_process(struct iax2_thread *thread)
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
}