dovecot-2.1: lib-storage: Removed MAILBOX_LIST_ITER_LIST_PREFIXE...

dovecot at dovecot.org dovecot at dovecot.org
Sun Mar 4 14:33:15 EET 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/d4f40b5c080c
changeset: 14246:d4f40b5c080c
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Mar 04 14:33:00 2012 +0200
description:
lib-storage: Removed MAILBOX_LIST_ITER_LIST_PREFIXES flag.
It was already accidentally enabled by default, and there's really no good
reason why it shouldn't always be enabled.

diffstat:

 src/doveadm/doveadm-mailbox-list-iter.c |  2 --
 src/lib-storage/mailbox-list.h          |  3 ---
 2 files changed, 0 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r bbe6b6c2ee99 -r d4f40b5c080c src/doveadm/doveadm-mailbox-list-iter.c
--- a/src/doveadm/doveadm-mailbox-list-iter.c	Sun Mar 04 14:31:23 2012 +0200
+++ b/src/doveadm/doveadm-mailbox-list-iter.c	Sun Mar 04 14:33:00 2012 +0200
@@ -69,8 +69,6 @@
 	ARRAY_TYPE(const_string) patterns;
 	bool have_guid = FALSE;
 
-	iter_flags |= MAILBOX_LIST_ITER_LIST_PREFIXES;
-
 	iter = i_new(struct doveadm_mailbox_list_iter, 1);
 	iter->ctx = ctx;
 	iter->search_args = search_args;
diff -r bbe6b6c2ee99 -r d4f40b5c080c src/lib-storage/mailbox-list.h
--- a/src/lib-storage/mailbox-list.h	Sun Mar 04 14:31:23 2012 +0200
+++ b/src/lib-storage/mailbox-list.h	Sun Mar 04 14:33:00 2012 +0200
@@ -73,9 +73,6 @@
 	   namespace prefixes, if there exists a parent namespace whose children
 	   it matches. */
 	MAILBOX_LIST_ITER_STAR_WITHIN_NS	= 0x000010,
-	/* For mailbox_list_iter_init_namespaces(): List also namespace
-	   prefixes if they match */
-	MAILBOX_LIST_ITER_LIST_PREFIXES		= 0x000020,
 
 	/* List only subscribed mailboxes */
 	MAILBOX_LIST_ITER_SELECT_SUBSCRIBED	= 0x000100,


More information about the dovecot-cvs mailing list