code before declaration.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6506 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b6f7b354f2
commit
3e51067b53
|
@ -365,8 +365,9 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_set_local_address(switch_rtp_t *rtp_s
|
||||||
|
|
||||||
x = 0;
|
x = 0;
|
||||||
while(!ilen) {
|
while(!ilen) {
|
||||||
|
switch_status_t status;
|
||||||
ilen = len;
|
ilen = len;
|
||||||
switch_status_t status = switch_socket_recvfrom(rtp_session->from_addr, new_sock, 0, (void *) i, &ilen);
|
status = switch_socket_recvfrom(rtp_session->from_addr, new_sock, 0, (void *) i, &ilen);
|
||||||
|
|
||||||
if (status != SWITCH_STATUS_SUCCESS && status != SWITCH_STATUS_BREAK) {
|
if (status != SWITCH_STATUS_SUCCESS && status != SWITCH_STATUS_BREAK) {
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue