]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
declaration after code.
authorMichael Jerris <mike@jerris.com>
Fri, 20 Apr 2007 20:53:11 +0000 (20:53 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 20 Apr 2007 20:53:11 +0000 (20:53 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4991 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_rtp.c

index fc533082f13032a70e75816a2a46b418b02201e9..105cf70ec3351164d49e82d67d86a5584cb408fe 100644 (file)
@@ -322,9 +322,9 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_set_local_address(switch_rtp_t *rtp_s
 {
        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!";