Mercurial > dovecot > original-hg > dovecot-1.2
changeset 9571:d86c7d94f372 HEAD
maildir: Expunging last messages may have assert-crashed if their filenames had changed.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 25 May 2010 15:23:32 +0100 |
parents | 5f0e937ae245 |
children | 6f25b20b8367 |
files | src/lib-storage/index/maildir/maildir-sync-index.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/maildir/maildir-sync-index.c Tue May 18 10:07:58 2010 +0200 +++ b/src/lib-storage/index/maildir/maildir-sync-index.c Tue May 25 15:23:32 2010 +0100 @@ -540,7 +540,6 @@ maildir_sync_mail_keywords(ctx, seq); } maildir_uidlist_iter_deinit(&iter); - mbox->syncing_commit = FALSE; if (!partial) { /* expunge the rest */ @@ -603,6 +602,7 @@ } array_free(&ctx->keywords); array_free(&ctx->idx_keywords); + mbox->syncing_commit = FALSE; return ret < 0 ? -1 : (full_rescan ? 0 : 1); }