]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Set quota information to 0 when creating a vm_state. (issue #8924 reported by neutrino88)
authorJoshua Colp <jcolp@digium.com>
Mon, 29 Jan 2007 17:33:19 +0000 (17:33 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 29 Jan 2007 17:33:19 +0000 (17:33 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52523 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index e0a6a1275e198b5da459e9c25532eac638d009b4..6da5c7bd6261dd77162ecfd668773e639f66ce38 100644 (file)
@@ -2516,6 +2516,8 @@ static int inboxcount(const char *mailbox, int *newmsgs, int *oldmsgs)
                vms_p->mailstream = NIL; /* save for access from interactive entry point */
                if(option_debug > 2)
                        ast_log (LOG_DEBUG,"Copied %s to %s\n",vmu->imapuser,vms_p->imapuser);
+               vms_p->quota_limit = 0;
+               vms_p->quota_usage = 0;
                vms_p->updated = 1;
                vms_p->interactive = 0;
                /* set mailbox to INBOX! */