summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-01-17 22:22:02 +0000
committerMark Michelson <mmichelson@digium.com>2008-01-17 22:22:02 +0000
commitfdc76e87bf17891ea5fea927a69ef8412c629e15 (patch)
tree1088586984c3bced6b2800a157884be6bb548af5 /apps/app_voicemail.c
parent8dc5e09ccb680c91cd2ae9d42ef09994809cc7e1 (diff)
Fixing trunk IMAP build
(closes issue #11788) Reported by: DEA Patches: vm-imap-build-fix.txt uploaded by DEA (license 3) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 8c483b9e2..0ba4e36be 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -3466,7 +3466,7 @@ static int save_to_folder(struct ast_vm_user *vmu, struct vm_state *vms, int msg
if (box == 1) return 10;
/* get the real IMAP message number for this message */
snprintf(sequence, sizeof(sequence), "%ld", vms->msgArray[msg]);
- ast_debug(3, "Copying sequence %s to mailbox %s\n",sequence,dbox);
+ ast_debug(3, "Copying sequence %s to mailbox %s\n",sequence,mbox(box));
res = mail_copy(vms->mailstream,sequence,(char *) mbox(box));
if (res == 1) return 0;
return 1;
@@ -5030,11 +5030,6 @@ static int open_mailbox(struct vm_state *vms, struct ast_vm_user *vmu, int box)
return -1;
}
- /* Check Quota (here for now to test) */
- mail_parameters(NULL, SET_QUOTA, (void *) mm_parsequota);
- imap_mailbox_name(dbox, sizeof(dbox), vms, box, 1);
- imap_getquotaroot(vms->mailstream, dbox);
-
/* Check Quota */
if (box == 0) {
ast_debug(3, "Mailbox name set to: %s, about to check quotas\n", mbox(box));