tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4313 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b47cd0314b
commit
4974b5b2b1
|
@ -322,6 +322,10 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_set_local_address(switch_rtp_t *rtp_s
|
|||
|
||||
done:
|
||||
|
||||
if (status != SWITCH_STATUS_SUCCESS) {
|
||||
rtp_session->ready = NULL;
|
||||
}
|
||||
|
||||
if (new_sock) {
|
||||
switch_socket_close(new_sock);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue