]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
placeholder -> noselect change broke LIST "" "foo/%" not showing foo/.
authorTimo Sirainen <tss@iki.fi>
Mon, 24 Feb 2003 22:39:44 +0000 (00:39 +0200)
committerTimo Sirainen <tss@iki.fi>
Mon, 24 Feb 2003 22:39:44 +0000 (00:39 +0200)
--HG--
branch : HEAD

src/imap/cmd-list.c

index 66471bd7e852c6504fec1d9f362417631df5e022..64efeac25a3030b37444c79dc93a586c9b4c295a 100644 (file)
@@ -130,7 +130,8 @@ static void list_send(struct list_send_context *ctx, struct list_node *node,
                        name = node->name;
                send_name = name;
 
-               if (node->flags != MAILBOX_PLACEHOLDER)
+               if (node->flags != MAILBOX_PLACEHOLDER &&
+                   node->flags != MAILBOX_NOSELECT)
                        match = IMAP_MATCH_YES;
                else {
                        /* make sure the placeholder matches. */