[asterisk-commits] mmichelson: branch 11 r373738 - in /branches/11: ./ apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Sep 25 16:13:50 CDT 2012
Author: mmichelson
Date: Tue Sep 25 16:13:46 2012
New Revision: 373738
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=373738
Log:
Fix error where improper IMAP greetings would be deleted.
(closes issue ASTERISK-20435)
Reported by: fhackenberger
Patches:
asterisk-20435-imap-del-greeting.diff uploaded by Michael L. Young (License #5026)
(with suggested modification made by me)
........
Merged revisions 373735 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 373737 from http://svn.asterisk.org/svn/asterisk/branches/10
Modified:
branches/11/ (props changed)
branches/11/apps/app_voicemail.c
Propchange: branches/11/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.
Modified: branches/11/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/apps/app_voicemail.c?view=diff&rev=373738&r1=373737&r2=373738
==============================================================================
--- branches/11/apps/app_voicemail.c (original)
+++ branches/11/apps/app_voicemail.c Tue Sep 25 16:13:46 2012
@@ -1965,6 +1965,11 @@
return;
}
+ if (msgnum < 0) {
+ imap_delete_old_greeting(file, vms);
+ return;
+ }
+
/* find real message number based on msgnum */
/* this may be an index into vms->msgArray based on the msgnum. */
messageNum = vms->msgArray[msgnum];
More information about the asterisk-commits
mailing list