[asterisk-commits] mmichelson: branch mmichelson/trunk-vm-imap r72111 - /team/mmichelson/trunk-v...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jun 27 11:11:52 CDT 2007
Author: mmichelson
Date: Wed Jun 27 11:11:52 2007
New Revision: 72111
URL: http://svn.digium.com/view/asterisk?view=rev&rev=72111
Log:
Another tweak for IMAP greeting retrieval. Now instead of deleting the first greeting encountered when
a new greeting is recorded, ALL old greetings get deleted.
Modified:
team/mmichelson/trunk-vm-imap/apps/app_voicemail.c
Modified: team/mmichelson/trunk-vm-imap/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/team/mmichelson/trunk-vm-imap/apps/app_voicemail.c?view=diff&rev=72111&r1=72110&r2=72111
==============================================================================
--- team/mmichelson/trunk-vm-imap/apps/app_voicemail.c (original)
+++ team/mmichelson/trunk-vm-imap/apps/app_voicemail.c Wed Jun 27 11:11:52 2007
@@ -5085,12 +5085,10 @@
{
sprintf (arg,"%d", i+1);
mail_setflag (vms->mailstream,arg,"\\DELETED");
- mail_expunge_full(vms->mailstream, NIL, EX_UID);
- return 0;
- }
- }
- ast_debug (2, "Unable to find greeting\n");
- return -1;
+ }
+ }
+ mail_expunge(vms->mailstream);
+ return 0;
}
#else
More information about the asterisk-commits
mailing list