dect
/
asterisk
Archived
13
0
Fork 0

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
This commit is contained in:
mmichelson 2007-10-16 16:40:24 +00:00
parent 8f44f5a0d9
commit 88e35377fe
1 changed files with 1 additions and 1 deletions

View File

@ -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);