declaration after code.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4991 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-04-20 20:53:11 +00:00
parent f29aa2d96c
commit aa0bd5aaa4
1 changed files with 1 additions and 1 deletions

View 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_socket_t *new_sock = NULL, *old_sock = NULL;
switch_status_t status = SWITCH_STATUS_FALSE; switch_status_t status = SWITCH_STATUS_FALSE;
*err = NULL;
char o[5] = "TEST", i[5] = ""; char o[5] = "TEST", i[5] = "";
switch_size_t len; 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) { if (switch_sockaddr_info_get(&rtp_session->local_addr, host, SWITCH_UNSPEC, port, 0, rtp_session->pool) != SWITCH_STATUS_SUCCESS) {
*err = "Local Address Error!"; *err = "Local Address Error!";