From: Brian West Date: Wed, 26 Dec 2012 16:57:43 +0000 (-0600) Subject: fix logging in debug def X-Git-Tag: v1.3.13~202 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1ba926640512b3d01b3e0219c3c93e1dc262776;p=thirdparty%2Ffreeswitch.git fix logging in debug def --- 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;