提交 70e8152b authored 作者: Michael Jerris's avatar Michael Jerris

tweak asserts. Found by Klockwork (www.klocwork.com)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8453 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 0cb54b0a
......@@ -202,11 +202,11 @@ static switch_status_t ice_out(switch_rtp_t *rtp_session)
switch_size_t bytes;
switch_status_t status = SWITCH_STATUS_SUCCESS;
WRITE_INC(rtp_session);
switch_assert(rtp_session != NULL);
switch_assert(rtp_session->ice_user != NULL);
WRITE_INC(rtp_session);
if (rtp_session->stuncount != 0) {
rtp_session->stuncount--;
goto end;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论