]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Revert commit 186445 because it causes the build to fail when IMAP_STORAGE is used.
authorMark Michelson <mmichelson@digium.com>
Mon, 6 Apr 2009 13:54:41 +0000 (13:54 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 6 Apr 2009 13:54:41 +0000 (13:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@186565 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 42c3637fdc64f8175585d1014cb2c4034bdd09ba..07cfb72a3adbf3a912fced79bac203fc29f8bad9 100644 (file)
@@ -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);