dovecot-2.2: dsync: Make sure we're not trying to use uidvalidit...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Oct 29 13:01:51 EET 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/3d7edc15fcec
changeset: 15264:3d7edc15fcec
user: Timo Sirainen <tss at iki.fi>
date: Mon Oct 29 13:00:36 2012 +0200
description:
dsync: Make sure we're not trying to use uidvalidity=0 for existing mailboxes.
diffstat:
src/doveadm/dsync/dsync-mailbox-tree-fill.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 1a3348e3892f -r 3d7edc15fcec src/doveadm/dsync/dsync-mailbox-tree-fill.c
--- a/src/doveadm/dsync/dsync-mailbox-tree-fill.c Mon Oct 29 12:44:43 2012 +0200
+++ b/src/doveadm/dsync/dsync-mailbox-tree-fill.c Mon Oct 29 13:00:36 2012 +0200
@@ -69,6 +69,7 @@
return -1;
}
} else {
+ i_assert(status.uidvalidity != 0);
memcpy(node->mailbox_guid, metadata.guid,
sizeof(node->mailbox_guid));
node->uid_validity = status.uidvalidity;
More information about the dovecot-cvs
mailing list