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
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@306960
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
/* 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;