dovecot-2.2: mbox: Fixed mailbox_update() for changing mailbox G...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Feb 17 11:48:27 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/7d1479aa534b
changeset: 15822:7d1479aa534b
user: Timo Sirainen <tss at iki.fi>
date: Sun Feb 17 11:46:14 2013 +0200
description:
mbox: Fixed mailbox_update() for changing mailbox GUID.
diffstat:
src/lib-storage/index/mbox/mbox-storage.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 1dd1e88ba0a2 -r 7d1479aa534b src/lib-storage/index/mbox/mbox-storage.c
--- a/src/lib-storage/index/mbox/mbox-storage.c Sun Feb 17 10:47:40 2013 +0200
+++ b/src/lib-storage/index/mbox/mbox-storage.c Sun Feb 17 11:46:14 2013 +0200
@@ -498,7 +498,8 @@
return -1;
}
- if (update->uid_validity != 0 || update->min_next_uid != 0) {
+ if (update->uid_validity != 0 || update->min_next_uid != 0 ||
+ !guid_128_is_empty(update->mailbox_guid)) {
mbox->sync_hdr_update = update;
ret = mbox_sync(mbox, MBOX_SYNC_HEADER | MBOX_SYNC_FORCE_SYNC |
MBOX_SYNC_REWRITE);
More information about the dovecot-cvs
mailing list