dovecot-2.0: lib-storage: Reverted the last INBOX children listi...

dovecot at dovecot.org dovecot at dovecot.org
Thu Dec 8 11:45:14 EET 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/13378136ba3e
changeset: 12996:13378136ba3e
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Dec 08 11:45:04 2011 +0200
description:
lib-storage: Reverted the last INBOX children listing change after all.

diffstat:

 src/lib-storage/list/mailbox-list-fs-iter.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r 56618c35292a -r 13378136ba3e src/lib-storage/list/mailbox-list-fs-iter.c
--- a/src/lib-storage/list/mailbox-list-fs-iter.c	Thu Dec 08 11:41:01 2011 +0200
+++ b/src/lib-storage/list/mailbox-list-fs-iter.c	Thu Dec 08 11:45:04 2011 +0200
@@ -398,8 +398,7 @@
 	ctx->info.flags &= ~(MAILBOX_NOSELECT | MAILBOX_NONEXISTENT);
 
 	if (*ns->prefix != '\0' &&
-	    (ns->flags & NAMESPACE_FLAG_INBOX_USER) != 0 &&
-	    (ctx->ctx.list->flags & MAILBOX_LIST_FLAG_MAILBOX_FILES) != 0) {
+	    (ns->flags & NAMESPACE_FLAG_INBOX_USER) != 0) {
 		/* we're listing INBOX for a namespace with a prefix.
 		   if there are children for the INBOX, they're returned under
 		   the mailbox prefix, not under the INBOX itself. */


More information about the dovecot-cvs mailing list