From 12854ea3c191351fc75c95902d6840fcb28c32e2 Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Wed, 18 Feb 2009 15:52:33 +0000 Subject: [PATCH] Fix windows build git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12139 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index f727553fff..e169546c1f 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -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);