[svn-commits] jpeeler: branch 1.6.2 r306961 - in /branches/1.6.2: ./ apps/app_voicemail.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Feb 8 13:25:15 CST 2011


Author: jpeeler
Date: Tue Feb  8 13:25:10 2011
New Revision: 306961

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

........
  r306960 | jpeeler | 2011-02-08 13:18:50 -0600 (Tue, 08 Feb 2011) | 9 lines
  
  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.6.2/   (props changed)
    branches/1.6.2/apps/app_voicemail.c

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

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




More information about the svn-commits mailing list