dovecot-2.0: lib-index: looking up offset for transaction log's ...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Oct 16 05:26:27 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/1120a013da33
changeset: 10081:1120a013da33
user: Timo Sirainen <tss at iki.fi>
date: Thu Oct 15 22:26:03 2009 -0400
description:
lib-index: looking up offset for transaction log's initial modseq failed.
diffstat:
1 file changed, 4 insertions(+)
src/lib-index/mail-transaction-log-file.c | 4 ++++
diffs (14 lines):
diff -r 73ad4e348343 -r 1120a013da33 src/lib-index/mail-transaction-log-file.c
--- a/src/lib-index/mail-transaction-log-file.c Thu Oct 15 21:07:46 2009 -0400
+++ b/src/lib-index/mail-transaction-log-file.c Thu Oct 15 22:26:03 2009 -0400
@@ -1006,6 +1006,10 @@ int mail_transaction_log_file_get_modseq
*next_offset_r = file->sync_offset;
return 0;
}
+ if (modseq == file->hdr.initial_modseq) {
+ *next_offset_r = file->hdr.hdr_size;
+ return 0;
+ }
cache = modseq_cache_get_modseq(file, modseq);
if (cache == NULL) {
More information about the dovecot-cvs
mailing list