diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-12 16:51:44 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-12 16:51:44 +0000 |
commit | fec2674d0ffccb2ffbae5643b8a068461e27018a (patch) | |
tree | 737f4895b08f56c7e95355ecd133e70b36f31e62 /rtp.c | |
parent | 5cda84a62ef175bdd3fcdee97b2dfef3752818db (diff) |
Take out some debugging
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1299 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-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; } |