[Freeswitch-svn] [commit] r4991 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Fri Apr 20 16:53:11 EDT 2007


Author: mikej
Date: Fri Apr 20 16:53:11 2007
New Revision: 4991

Modified:
   freeswitch/trunk/src/switch_rtp.c

Log:
declaration after code.

Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c	(original)
+++ freeswitch/trunk/src/switch_rtp.c	Fri Apr 20 16:53:11 2007
@@ -322,9 +322,9 @@
 {
 	switch_socket_t *new_sock = NULL, *old_sock = NULL;
 	switch_status_t status = SWITCH_STATUS_FALSE;
-	*err = NULL;
 	char o[5] = "TEST", i[5] = "";
 	switch_size_t len;
+	*err = NULL;
 
 	if (switch_sockaddr_info_get(&rtp_session->local_addr, host, SWITCH_UNSPEC, port, 0, rtp_session->pool) != SWITCH_STATUS_SUCCESS) {
 		*err = "Local Address Error!";



More information about the Freeswitch-svn mailing list