[asterisk-commits] jpeeler: branch 1.4 r306960 - /branches/1.4/apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Feb 8 13:18:55 CST 2011


Author: jpeeler
Date: Tue Feb  8 13:18:50 2011
New Revision: 306960

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=306960
Log:
Backup file storing message duration is not used with IMAP_STORAGE, remove code.

The message duration is stored in the body of the email when using IMAP_STORAGE,
so nothing needs to happen with the backup file.

(closes issue #18718)
Reported by: kerframil


Modified:
    branches/1.4/apps/app_voicemail.c

Modified: branches/1.4/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/apps/app_voicemail.c?view=diff&rev=306960&r1=306959&r2=306960
==============================================================================
--- branches/1.4/apps/app_voicemail.c (original)
+++ branches/1.4/apps/app_voicemail.c Tue Feb  8 13:18:50 2011
@@ -5236,10 +5236,14 @@
 			/* Back up the original file, so we can retry the prepend */
 			if (already_recorded) {
 				ast_filecopy(backup, msgfile, NULL);
+#ifndef IMAP_STORAGE
 				copy(textfile, backup_textfile);
+#endif
 			} else {
 				ast_filecopy(msgfile, backup, NULL);
+#ifndef IMAP_STORAGE
 				copy(textfile, backup_textfile);
+#endif
 			}
 			already_recorded = 1;
 




More information about the asterisk-commits mailing list