提交 3e51067b authored 作者: Michael Jerris's avatar Michael Jerris

code before declaration.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6506 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 b6f7b354
......@@ -365,8 +365,9 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_set_local_address(switch_rtp_t *rtp_s
x = 0;
while(!ilen) {
switch_status_t status;
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) {
break;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论