dovecot-1.2: If we detect that transaction log file size is inva...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Oct 22 01:32:47 EEST 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/963330c3df1e
changeset: 8312:963330c3df1e
user: Timo Sirainen <tss at iki.fi>
date: Wed Oct 22 01:32:43 2008 +0300
description:
If we detect that transaction log file size is invalid, mark the log corrupted.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-index/mail-transaction-log-file.c | 2 +-
diffs (12 lines):
diff -r 2792b3a9b67a -r 963330c3df1e src/lib-index/mail-transaction-log-file.c
--- a/src/lib-index/mail-transaction-log-file.c Wed Oct 22 01:24:44 2008 +0300
+++ b/src/lib-index/mail-transaction-log-file.c Wed Oct 22 01:32:43 2008 +0300
@@ -1174,7 +1174,7 @@ mail_transaction_log_file_sync(struct ma
if (file->next != NULL &&
file->hdr.file_seq == file->next->hdr.prev_file_seq &&
file->next->hdr.prev_file_offset != file->sync_offset) {
- mail_index_set_error(file->log->index,
+ mail_transaction_log_file_set_corrupted(file,
"Invalid transaction log size "
"(%"PRIuUOFF_T" vs %u): %s", file->sync_offset,
file->log->head->hdr.prev_file_offset, file->filepath);
More information about the dovecot-cvs
mailing list