aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-12 17:45:42 +0000
committermogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-12 17:45:42 +0000
commit6dc84efcbc6a893fd43002d4a87fef97089b5281 (patch)
treec67d9849fc80972819e7e670ef7af3a69f7301e2 /apps
parent7877553699ac625aaeb89179387a29b1678e561c (diff)
i dont know how msg_cfg got moved around but its all good again
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42842 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 8da1b40b7..dadc0b096 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -7421,11 +7421,10 @@ static int advanced_options(struct ast_channel *chan, struct ast_vm_user *vmu, s
int res = 0;
#ifdef IMAP_STORAGE
char origtimeS[256],cidS[256],contextS[256];
- char *header_content,*filename,*temp;
-#else
+ char *header_content,*temp;
+#endif
char filename[256];
struct ast_config *msg_cfg;
-#endif
char *origtime, *cid, *context, *name, *num;
int retries = 0;
@@ -7473,8 +7472,8 @@ static int advanced_options(struct ast_channel *chan, struct ast_vm_user *vmu, s
origtimeS[0] = '\0';
origtime = &origtimeS[0];
-
- filename = "IMAP_STORAGE";
+
+ sprintf(filename,"IMAP_STORAGE");
#else
make_file(vms->fn, sizeof(vms->fn), vms->curdir, msg);