From 3b741658b6132a1dcd519f35b62a8053a3b779d5 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Fri, 25 Sep 2009 20:16:18 +0000 Subject: [PATCH] Code before declaration git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14988 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 62a49dc7e5..91fb54a890 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -650,6 +650,7 @@ void event_handler(switch_event_t *event) char *fixed_contact_str = NULL; sofia_profile_t *profile = NULL; + char guess_ip4[256]; char *mwi_account = NULL; char *dup_mwi_account = NULL; @@ -669,8 +670,6 @@ void event_handler(switch_event_t *event) mwi_host = (char *) from_host; } - char guess_ip4[256]; - if (exp_str) { expires += atol(exp_str); }