提交 1458ea0d authored 作者: Brian West's avatar Brian West

bracketless if's are not allowed doh

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12662 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 aeff9ff8
...@@ -624,10 +624,11 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_set_local_address(switch_rtp_t *rtp_s ...@@ -624,10 +624,11 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_set_local_address(switch_rtp_t *rtp_s
SWITCH_DECLARE(void) switch_rtp_set_max_missed_packets(switch_rtp_t *rtp_session, uint32_t max) SWITCH_DECLARE(void) switch_rtp_set_max_missed_packets(switch_rtp_t *rtp_session, uint32_t max)
{ {
if (rtp_session->missed_count >= max) if (rtp_session->missed_count >= max) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
"new max missed packets(%d->%d) greater than current missed packets(%d). RTP will timeout.\n", "new max missed packets(%d->%d) greater than current missed packets(%d). RTP will timeout.\n",
rtp_session->missed_count, max, rtp_session->missed_count); rtp_session->missed_count, max, rtp_session->missed_count);
}
rtp_session->max_missed_packets = max; rtp_session->max_missed_packets = max;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论