code before declaration.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6013 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2007-10-21 20:48:50 +00:00
parent c86155c6bf
commit 493aafa279
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -2073,9 +2073,10 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
if (sip->sip_request->rq_url) {
sofia_gateway_t *gateway;
char *from_key;
char *user = (char *) sip->sip_request->rq_url->url_user;
check_decode(user, session);
char *from_key = switch_core_session_sprintf(session, "sip:%s@%s",
from_key = switch_core_session_sprintf(session, "sip:%s@%s",
user,
(char *) sip->sip_request->rq_url->url_host);