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

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


details:   http://hg.dovecot.org/dovecot-2.1/rev/b5056baa6193
changeset: 13829:b5056baa6193
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 9336f4968beb -r b5056baa6193 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
@@ -349,8 +349,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