aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-16 16:40:24 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-16 16:40:24 +0000
commit88e35377fe84f06b5f16791674e1bd0ea95b2c63 (patch)
treee97b33ed9cac06201afff9f3c374d31cf4f814d3 /apps/app_voicemail.c
parent8f44f5a0d96a15693ca440719f9dd9b6c6da533e (diff)
Fix IMAP compilation error.
(closes issue #10986, reported and patched by snuffy) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85883 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 904b4f84b..6d52466a9 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -2545,7 +2545,7 @@ static int imap_store_file(char *dir, char *mailboxuser, char *mailboxcontext, i
((char *)buf)[len] = '\0';
INIT(&str, mail_string, buf, len);
init_mailstream(vms, NEW_FOLDER);
- imap_mailbox_name(mailbox, vms, NEW_FOLDER, 1);
+ imap_mailbox_name(mailbox, sizeof(mailbox), vms, NEW_FOLDER, 1);
if(!mail_append(vms->mailstream, mailbox, &str))
ast_log(LOG_ERROR, "Error while sending the message to %s\n", mailbox);
fclose(p);