dovecot-1.1: Fixed previous transaction log assert-avoidance check.
dovecot at dovecot.org
dovecot at dovecot.org
Sun May 25 04:49:12 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/e54ca78ce35f
changeset: 7549:e54ca78ce35f
user: Timo Sirainen <tss at iki.fi>
date: Sun May 25 04:49:08 2008 +0300
description:
Fixed previous transaction log assert-avoidance check.
diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
src/lib-index/mail-transaction-log-view.c | 3 ++-
diffs (13 lines):
diff -r e6187b556b65 -r e54ca78ce35f src/lib-index/mail-transaction-log-view.c
--- a/src/lib-index/mail-transaction-log-view.c Sun May 25 04:44:18 2008 +0300
+++ b/src/lib-index/mail-transaction-log-view.c Sun May 25 04:49:08 2008 +0300
@@ -149,7 +149,8 @@ int mail_transaction_log_view_set(struct
return -1;
}
- if (min_file_offset > 0 && min_file_offset < view->tail->hdr.hdr_size) {
+ if (min_file_offset > 0 &&
+ min_file_offset < view->log->files->hdr.hdr_size) {
/* log file offset is probably corrupted in the index file. */
mail_transaction_log_view_set_corrupted(view,
"file_seq=%u, min_file_offset (%"PRIuUOFF_T
More information about the dovecot-cvs
mailing list