]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix windows build
authorMathieu Rene <mrene@avgs.ca>
Wed, 18 Feb 2009 15:52:33 +0000 (15:52 +0000)
committerMathieu Rene <mrene@avgs.ca>
Wed, 18 Feb 2009 15:52:33 +0000 (15:52 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12139 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index f727553fff5129722df64e20e1e4b39164fec2eb..e169546c1f31d9455bb7fe1ddb7ce548f88236e5 100644 (file)
@@ -1026,6 +1026,8 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
 
                if ((gateway = switch_core_alloc(profile->pool, sizeof(*gateway)))) {
                        const char *sipip, *format;
+                       switch_uuid_t uuid;
+                       uint32_t ping_freq = 0;
                        char *register_str = "true", *scheme = "Digest",
                                *realm = NULL,
                                *username = NULL,
@@ -1042,9 +1044,6 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
                        if (!context) {
                                context = "default";
                        }
-
-                       uint32_t ping_freq = 0;
-                       switch_uuid_t uuid;
                        
                        switch_uuid_get(&uuid);
                        switch_uuid_format(gateway->uuid_str, &uuid);