dovecot-1.2: mbox: Fixed assert-crash after sometimes creating p...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Jan 29 18:29:33 EET 2010
details: http://hg.dovecot.org/dovecot-1.2/rev/fa1f5b4590d1
changeset: 9537:fa1f5b4590d1
user: Timo Sirainen <tss at iki.fi>
date: Fri Jan 29 16:42:02 2010 +0200
description:
mbox: Fixed assert-crash after sometimes creating pseudo mail.
diffstat:
1 file changed, 1 insertion(+)
src/lib-storage/index/mbox/mbox-sync.c | 1 +
diffs (11 lines):
diff -r 7b0e1b2c9afd -r fa1f5b4590d1 src/lib-storage/index/mbox/mbox-sync.c
--- a/src/lib-storage/index/mbox/mbox-sync.c Mon Jan 25 01:35:35 2010 +0200
+++ b/src/lib-storage/index/mbox/mbox-sync.c Fri Jan 29 16:42:02 2010 +0200
@@ -1212,6 +1212,7 @@ static int mbox_write_pseudo(struct mbox
mbox_set_syscall_error(sync_ctx->mbox, "ftruncate()");
}
+ sync_ctx->base_uid_validity = uid_validity;
sync_ctx->base_uid_last_offset = 0; /* don't bother calculating */
sync_ctx->base_uid_last = sync_ctx->next_uid-1;
return 0;
More information about the dovecot-cvs
mailing list