diff options
author | Mark Spencer <markster@digium.com> | 2003-08-12 16:51:44 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-08-12 16:51:44 +0000 |
commit | 655f60e567427518de3b05163b72e39f4d2d9ff9 (patch) | |
tree | 737f4895b08f56c7e95355ecd133e70b36f31e62 | |
parent | e4614cf487c86ab85ced9a187109be6be32128fb (diff) |
Take out some debugging
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | rtp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -319,7 +319,8 @@ struct ast_frame *ast_rtcp_read(struct ast_rtp *rtp) ast_log(LOG_DEBUG, "RTP NAT: Using address %s:%d\n", inet_ntoa(rtp->rtcp->them.sin_addr), ntohs(rtp->rtcp->them.sin_port)); } } - ast_log(LOG_DEBUG, "Got RTCP report of %d bytes\n", res); + if (option_debug) + ast_log(LOG_DEBUG, "Got RTCP report of %d bytes\n", res); return &null_frame; } |