From b1ba926640512b3d01b3e0219c3c93e1dc262776 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 26 Dec 2012 10:57:43 -0600 Subject: [PATCH] fix logging in debug def --- src/switch_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 7ddb2abcf5..cd88abb1e0 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -4409,7 +4409,7 @@ static int rtp_common_write(switch_rtp_t *rtp_session, #ifdef RTP_DEBUG_WRITE_DELTA { int delta = (int) (now - rtp_session->send_time) / 1000; - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "WRITE %d delta %d\n", (int) bytes, delta); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "WRITE %d delta %d\n", (int) bytes, delta); } #endif rtp_session->send_time = now;