Lines 6767-6780
Link Here
|
6767 |
} |
6767 |
} |
6768 |
|
6768 |
|
6769 |
/* Back up the original file, so we can retry the prepend and restore it after forward. */ |
6769 |
/* Back up the original file, so we can retry the prepend and restore it after forward. */ |
|
|
6770 |
#ifndef IMAP_STORAGE |
6770 |
if (already_recorded) { |
6771 |
if (already_recorded) { |
6771 |
ast_filecopy(backup, msgfile, NULL); |
6772 |
ast_filecopy(backup, msgfile, NULL); |
6772 |
copy(backup_textfile, textfile); |
6773 |
copy(backup_textfile, textfile); |
6773 |
} |
6774 |
} |
6774 |
else { |
6775 |
else { |
6775 |
ast_filecopy(msgfile, backup, NULL); |
6776 |
ast_filecopy(msgfile, backup, NULL); |
6776 |
copy(textfile,backup_textfile); |
6777 |
copy(textfile, backup_textfile); |
6777 |
} |
6778 |
} |
|
|
6779 |
#endif |
6778 |
already_recorded = 1; |
6780 |
already_recorded = 1; |
6779 |
|
6781 |
|
6780 |
if (record_gain) |
6782 |
if (record_gain) |