[asterisk-commits] file: trunk r52524 - in /trunk: ./ apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jan 29 10:39:09 MST 2007


Author: file
Date: Mon Jan 29 11:39:09 2007
New Revision: 52524

URL: http://svn.digium.com/view/asterisk?view=rev&rev=52524
Log:
Merged revisions 52523 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52523 | file | 2007-01-29 12:33:19 -0500 (Mon, 29 Jan 2007) | 2 lines

Set quota information to 0 when creating a vm_state. (issue #8924 reported by neutrino88)

........

Modified:
    trunk/   (props changed)
    trunk/apps/app_voicemail.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=52524&r1=52523&r2=52524
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Mon Jan 29 11:39:09 2007
@@ -2545,9 +2545,11 @@
  		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->updated = 1;
- 		vms_p->interactive = 0;
- 		/* set mailbox to INBOX! */
+		vms_p->quota_limit = 0;
+		vms_p->quota_usage = 0;
+		vms_p->updated = 1;
+		vms_p->interactive = 0;
+		/* set mailbox to INBOX! */
 		ast_copy_string(vms_p->curbox, mbox(0), sizeof(vms_p->curbox));
  		init_vm_state(vms_p);
  		vmstate_insert(vms_p);



More information about the asterisk-commits mailing list