[Freeswitch-svn] [commit] r6506 - freeswitch/trunk/src
Freeswitch SVN
mikej at freeswitch.org
Tue Dec 4 18:06:12 EST 2007
Author: mikej
Date: Tue Dec 4 18:06:12 2007
New Revision: 6506
Modified:
freeswitch/trunk/src/switch_rtp.c
Log:
code before declaration.
Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c (original)
+++ freeswitch/trunk/src/switch_rtp.c Tue Dec 4 18:06:12 2007
@@ -365,8 +365,9 @@
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;
More information about the Freeswitch-svn
mailing list