]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix logging in debug def
authorBrian West <brian@freeswitch.org>
Wed, 26 Dec 2012 16:57:43 +0000 (10:57 -0600)
committerBrian West <brian@freeswitch.org>
Wed, 26 Dec 2012 16:57:43 +0000 (10:57 -0600)
src/switch_rtp.c

index 7ddb2abcf5e90fe9a1b4ce2cf4148d769ee42ac0..cd88abb1e0f845f635790cc77d662c2e9df77f5c 100644 (file)
@@ -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;