Fix compilation error when IMAP storage is enabled
authorMark Michelson <mmichelson@digium.com>
Tue, 8 Jul 2008 22:56:12 +0000 (22:56 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 8 Jul 2008 22:56:12 +0000 (22:56 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@129270 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index f25811a..08049ee 100644 (file)
@@ -5929,7 +5929,7 @@ static void imap_mailbox_name(char *spec, size_t len, struct vm_state *vms, int
        if (box == NEW_FOLDER) {
                ast_copy_string(vms->vmbox, "vm-INBOX", sizeof(vms->vmbox));
        } else {
-               snprintf(vms->vmbox, sizeof(vm->vmbox), "vm-%s", mbox(box));
+               snprintf(vms->vmbox, sizeof(vms->vmbox), "vm-%s", mbox(box));
        }
 
        /* Build up server information */