dovecot-2.0: mbox: Don't use UIDVALIDITY 1 for all new mailboxes.
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jul 7 23:03:12 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/d74d50dceeda
changeset: 9570:d74d50dceeda
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 7853731cb1c4 -r d74d50dceeda 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
@@ -1433,7 +1433,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