dovecot-1.1: Fixed updating first_recent_uid in index header.
dovecot at dovecot.org
dovecot at dovecot.org
Wed Apr 30 17:06:25 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/abc88e664e63
changeset: 7467:abc88e664e63
user: Timo Sirainen <tss at iki.fi>
date: Wed Apr 30 17:06:08 2008 +0300
description:
Fixed updating first_recent_uid in index header.
diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
src/lib-storage/index/mbox/mbox-sync.c | 4 ++--
diffs (14 lines):
diff -r f5af6ce6376f -r abc88e664e63 src/lib-storage/index/mbox/mbox-sync.c
--- a/src/lib-storage/index/mbox/mbox-sync.c Wed Apr 30 17:05:19 2008 +0300
+++ b/src/lib-storage/index/mbox/mbox-sync.c Wed Apr 30 17:06:08 2008 +0300
@@ -1410,8 +1410,8 @@ static int mbox_sync_update_index_header
&sync_size, sizeof(sync_size), TRUE);
}
- first_recent_uid = !sync_ctx->mbox->ibox.keep_recent ? 0 :
- sync_ctx->last_nonrecent_uid + 1;
+ first_recent_uid = !sync_ctx->mbox->ibox.keep_recent ?
+ sync_ctx->next_uid : sync_ctx->last_nonrecent_uid + 1;
if (sync_ctx->hdr->first_recent_uid < first_recent_uid) {
mail_index_update_header(sync_ctx->t,
offsetof(struct mail_index_header, first_recent_uid),
More information about the dovecot-cvs
mailing list