Mercurial > dovecot > core-2.2
changeset 12081:65b0e7b4eda9
maildir: If uidlist isn't read, don't mark its UIDs as being known when saving.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 07 Sep 2010 16:23:03 +0100 |
parents | 0d5f21aeda68 |
children | c7e1c71c5ec5 |
files | src/lib-storage/index/maildir/maildir-uidlist.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/maildir/maildir-uidlist.c Mon Sep 06 18:17:17 2010 +0100 +++ b/src/lib-storage/index/maildir/maildir-uidlist.c Tue Sep 07 16:23:03 2010 +0100 @@ -1903,7 +1903,7 @@ recs[dest]->flags &= ~MAILDIR_UIDLIST_REC_FLAG_MOVED; } - if (ctx->uidlist->locked_refresh) + if (ctx->uidlist->locked_refresh && ctx->uidlist->initial_read) ctx->uidlist->last_seen_uid = ctx->uidlist->next_uid-1; ctx->new_files_count = 0;