From 9fb3d096c627a69fdc2c42d12437a2766a305225 Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Thu, 2 Apr 2009 15:06:01 +0000 Subject: [PATCH] Fix windows build git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12886 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_voicemail/mod_voicemail.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index 63a7b007b6..d8f5ce76fe 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -2758,6 +2758,7 @@ static switch_status_t voicemail_leave_main(switch_core_session_t *session, cons 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 @@ static switch_status_t voicemail_leave_main(switch_core_session_t *session, cons } } - switch_event_t *params = NULL; - switch_event_create(¶ms, SWITCH_EVENT_REQUEST_PARAMS); switch_assert(params); switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "mailbox", id);