dovecot-2.2: lib-storage: Allow calling mailbox_get_private_flag...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Oct 29 14:19:59 EET 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/40e6e734cd5e
changeset: 15269:40e6e734cd5e
user: Timo Sirainen <tss at iki.fi>
date: Mon Oct 29 14:19:24 2012 +0200
description:
lib-storage: Allow calling mailbox_get_private_flags_mask() without mailbox being open.
Most importantly used by mailbox list indexes to determine if it can
optimize a STATUS (UNSEEN) call.
diffstat:
src/lib-storage/mail-storage.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diffs (12 lines):
diff -r 4e8d7cfec5dc -r 40e6e734cd5e src/lib-storage/mail-storage.c
--- a/src/lib-storage/mail-storage.c Mon Oct 29 14:16:02 2012 +0200
+++ b/src/lib-storage/mail-storage.c Mon Oct 29 14:19:24 2012 +0200
@@ -1447,8 +1447,6 @@
enum mail_flags mailbox_get_private_flags_mask(struct mailbox *box)
{
- i_assert(box->opened);
-
if (box->v.get_private_flags_mask != NULL)
return box->v.get_private_flags_mask(box);
else if (box->list->set.index_pvt_dir != NULL)
More information about the dovecot-cvs
mailing list