[Freeswitch-svn] [commit] r12139 - freeswitch/trunk/src/mod/endpoints/mod_sofia

FreeSWITCH SVN mrene at freeswitch.org
Wed Feb 18 07:52:33 PST 2009


Author: mrene
Date: Wed Feb 18 09:52:33 2009
New Revision: 12139

Log:
Fix windows build

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	Wed Feb 18 09:52:33 2009
@@ -1026,6 +1026,8 @@
 
 		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 @@
 			if (!context) {
 				context = "default";
 			}
-
-			uint32_t ping_freq = 0;
-			switch_uuid_t uuid;
 			
 			switch_uuid_get(&uuid);
 			switch_uuid_format(gateway->uuid_str, &uuid);



More information about the Freeswitch-svn mailing list