diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-29 17:33:19 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-29 17:33:19 +0000 |
commit | 077d8107ba63cc729ff6b10e300e8159811683b3 (patch) | |
tree | 2e3bca0966be368d40a5f4bf4269913007c85636 /apps | |
parent | f874250d6392281357d8f357e4161fc007f82821 (diff) |
Set quota information to 0 when creating a vm_state. (issue #8924 reported by neutrino88)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@52523 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index e0a6a1275..6da5c7bd6 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -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! */ |