tweak asserts. Found by Klockwork (www.klocwork.com)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8453 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
0cb54b0a97
commit
70e8152b39
|
@ -201,12 +201,12 @@ static switch_status_t ice_out(switch_rtp_t *rtp_session)
|
|||
unsigned int elapsed;
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue