[Freeswitch-svn] [commit] r12886 - freeswitch/trunk/src/mod/applications/mod_voicemail

FreeSWITCH SVN mrene at freeswitch.org
Thu Apr 2 08:06:01 PDT 2009


Author: mrene
Date: Thu Apr  2 10:06:01 2009
New Revision: 12886

Log:
Fix windows build

Modified:
   freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c

Modified: freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	Thu Apr  2 10:06:01 2009
@@ -2758,6 +2758,7 @@
 	switch_xml_t x_domain = NULL, x_domain_root = NULL, x_user = NULL, x_params = NULL, x_param = NULL;
 	switch_event_t *vars = NULL;
 	const char *vm_cc = NULL, *vtmp, *vm_ext = NULL;
+	switch_event_t *params = NULL;
 	
 	if (!(caller_id_name = switch_channel_get_variable(channel, "effective_caller_id_name"))) {
 		caller_id_name = caller_profile->caller_id_name;
@@ -2997,8 +2998,6 @@
 		}
 	}
 	
-	switch_event_t *params = NULL;
-	
 	switch_event_create(&params, SWITCH_EVENT_REQUEST_PARAMS);
 	switch_assert(params);
 	switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "mailbox", id);



More information about the Freeswitch-svn mailing list