dovecot-2.2: mbox: Mailbox GUID lookup unnecessarily always sync...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Dec 15 13:26:53 EET 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/b765a09d8c6c
changeset: 15474:b765a09d8c6c
user: Timo Sirainen <tss at iki.fi>
date: Sat Dec 15 13:26:48 2012 +0200
description:
mbox: Mailbox GUID lookup unnecessarily always synced mbox.
diffstat:
src/lib-storage/index/mbox/mbox-storage.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 646c5d0a60b5 -r b765a09d8c6c src/lib-storage/index/mbox/mbox-storage.c
--- a/src/lib-storage/index/mbox/mbox-storage.c Sat Dec 15 13:25:49 2012 +0200
+++ b/src/lib-storage/index/mbox/mbox-storage.c Sat Dec 15 13:26:48 2012 +0200
@@ -613,6 +613,9 @@
"Mailbox GUIDs are not permanent without index files");
return -1;
}
+ if (mbox_sync_header_refresh(mbox) < 0)
+ return -1;
+
if (!guid_128_is_empty(mbox->mbox_hdr.mailbox_guid)) {
/* we have the GUID */
} else if (mbox_file_open(mbox) < 0)
More information about the dovecot-cvs
mailing list