dovecot-2.0-sslstream: mbox: Fixed mailbox_update() to update ne...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:55:58 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/5a4318e65ba7
changeset: 10247:5a4318e65ba7
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Nov 02 18:11:48 2009 -0500
description:
mbox: Fixed mailbox_update() to update next-uid properly.

diffstat:

1 file changed, 1 insertion(+)
src/lib-storage/index/mbox/mbox-sync.c |    1 +

diffs (11 lines):

diff -r 4acd259d2b9c -r 5a4318e65ba7 src/lib-storage/index/mbox/mbox-sync.c
--- a/src/lib-storage/index/mbox/mbox-sync.c	Mon Nov 02 18:03:21 2009 -0500
+++ b/src/lib-storage/index/mbox/mbox-sync.c	Mon Nov 02 18:11:48 2009 -0500
@@ -972,6 +972,7 @@ static void mbox_sync_hdr_update(struct 
 	if (update->min_next_uid != 0 &&
 	    sync_ctx->base_uid_last <= update->min_next_uid) {
 		sync_ctx->base_uid_last = update->min_next_uid-1;
+		sync_ctx->next_uid = update->min_next_uid;
 		mail_ctx->imapbase_rewrite = TRUE;
 		mail_ctx->need_rewrite = TRUE;
 	}


More information about the dovecot-cvs mailing list