From: Mark Michelson Date: Mon, 6 Apr 2009 13:54:41 +0000 (+0000) Subject: Revert commit 186445 because it causes the build to fail when IMAP_STORAGE is used. X-Git-Tag: 1.4.25-rc1~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2c30564bf41d31ecae2252254522fda6f0637d8;p=thirdparty%2Fasterisk.git Revert commit 186445 because it causes the build to fail when IMAP_STORAGE is used. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@186565 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 42c3637fdc..07cfb72a3a 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -1307,7 +1307,7 @@ static int imap_store_file(char *dir, char *mailboxuser, char *mailboxcontext, i *(vmu->email) = '\0'; return -1; } else { - make_email_file(p, myserveremail, vmu, msgnum, vmu->context, vmu->mailbox, vms->curbox, "INBOX", S_OR(chan->cid.cid_num, NULL), S_OR(chan->cid.cid_name, NULL), fn, fmt, duration, 1, chan, NULL, 1); + make_email_file(p, myserveremail, vmu, msgnum, vmu->context, vmu->mailbox, vms->curbox, S_OR(chan->cid.cid_num, NULL), S_OR(chan->cid.cid_name, NULL), fn, fmt, duration, 1, chan, NULL, 1); /* read mail file to memory */ len = ftell(p); rewind(p);