dovecot-2.0: mbox: Fixed assert-crash after sometimes creating p...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Jan 29 16:42:06 EET 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/992bb0c85ee9
changeset: 10605:992bb0c85ee9
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 4c9c9111e361 -r 992bb0c85ee9 src/lib-storage/index/mbox/mbox-sync.c
--- a/src/lib-storage/index/mbox/mbox-sync.c Fri Jan 29 10:10:07 2010 +0200
+++ b/src/lib-storage/index/mbox/mbox-sync.c Fri Jan 29 16:42:02 2010 +0200
@@ -1245,6 +1245,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