dovecot-1.2: mbox: Don't use UIDVALIDITY 1 for all new mailboxes.

dovecot at dovecot.org dovecot at dovecot.org
Tue Jul 7 23:03:00 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/568ddefd7c18
changeset: 9193:568ddefd7c18
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jul 07 16:02:51 2009 -0400
description:
mbox: Don't use UIDVALIDITY 1 for all new mailboxes.

diffstat:

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

diffs (12 lines):

diff -r 534de78dbe84 -r 568ddefd7c18 src/lib-storage/index/mbox/mbox-sync.c
--- a/src/lib-storage/index/mbox/mbox-sync.c	Tue Jul 07 15:14:54 2009 -0400
+++ b/src/lib-storage/index/mbox/mbox-sync.c	Tue Jul 07 16:02:51 2009 -0400
@@ -1407,7 +1407,7 @@ static int mbox_sync_update_index_header
 	if (sync_ctx->base_uid_validity == 0) {
 		sync_ctx->base_uid_validity = sync_ctx->hdr->uid_validity != 0 ?
 			sync_ctx->hdr->uid_validity :
-			I_MIN((unsigned int)ioloop_time, 1);
+			I_MAX((unsigned int)ioloop_time, 1);
 	}
 	if (sync_ctx->base_uid_validity != sync_ctx->hdr->uid_validity) {
 		mail_index_update_header(sync_ctx->t,


More information about the dovecot-cvs mailing list