[asterisk-commits] file: branch 1.4 r52523 - /branches/1.4/apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jan 29 10:33:19 MST 2007


Author: file
Date: Mon Jan 29 11:33:19 2007
New Revision: 52523

URL: http://svn.digium.com/view/asterisk?view=rev&rev=52523
Log:
Set quota information to 0 when creating a vm_state. (issue #8924 reported by neutrino88)

Modified:
    branches/1.4/apps/app_voicemail.c

Modified: branches/1.4/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_voicemail.c?view=diff&rev=52523&r1=52522&r2=52523
==============================================================================
--- branches/1.4/apps/app_voicemail.c (original)
+++ branches/1.4/apps/app_voicemail.c Mon Jan 29 11:33:19 2007
@@ -2516,6 +2516,8 @@
 		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! */



More information about the asterisk-commits mailing list