]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix authuser support. (issue #9740 reported by xmarksthespot)
authorJoshua Colp <jcolp@digium.com>
Thu, 17 May 2007 13:48:44 +0000 (13:48 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 17 May 2007 13:48:44 +0000 (13:48 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64720 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 482c6dbd250e2075d5d0cf76a9398e510f470e5a..b6c538aabf5e7f7a5fa6f442f4bcc401295f849c 100644 (file)
@@ -4626,7 +4626,7 @@ static void imap_mailbox_name(char *spec, struct vm_state *vms, int box, int use
 
        /* Add authentication user if present */
        if (!ast_strlen_zero(authuser))
-               ast_build_string(&t, &left, "/%s", authuser);
+               ast_build_string(&t, &left, "/authuser=%s", authuser);
 
        /* Add flags if present */
        if (!ast_strlen_zero(imapflags))