dovecot-2.0: maildir: Expunging last messages may have assert-cr...
dovecot at dovecot.org
dovecot at dovecot.org
Tue May 25 17:27:32 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/487e58ebb764
changeset: 11361:487e58ebb764
user: Timo Sirainen <tss at iki.fi>
date: Tue May 25 15:23:32 2010 +0100
description:
maildir: Expunging last messages may have assert-crashed if their filenames had changed.
diffstat:
src/lib-storage/index/maildir/maildir-sync-index.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 8b67ccc4e2af -r 487e58ebb764 src/lib-storage/index/maildir/maildir-sync-index.c
--- a/src/lib-storage/index/maildir/maildir-sync-index.c Tue May 25 15:22:03 2010 +0100
+++ b/src/lib-storage/index/maildir/maildir-sync-index.c Tue May 25 15:23:32 2010 +0100
@@ -601,7 +601,6 @@
maildir_sync_mail_keywords(ctx, seq);
}
maildir_uidlist_iter_deinit(&iter);
- mbox->syncing_commit = FALSE;
if (!partial) {
/* expunge the rest */
@@ -664,6 +663,7 @@
}
array_free(&ctx->keywords);
array_free(&ctx->idx_keywords);
+ mbox->syncing_commit = FALSE;
return ret < 0 ? -1 : (full_rescan ? 0 : 1);
}
More information about the dovecot-cvs
mailing list