changeset 1251:53f8ac273a9b HEAD

placeholder -> noselect change broke LIST "" "foo/%" not showing foo/.
author Timo Sirainen <tss@iki.fi>
date Tue, 25 Feb 2003 00:39:44 +0200
parents 31510fc5e02f
children 61decb945930
files src/imap/cmd-list.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap/cmd-list.c	Mon Feb 24 21:38:09 2003 +0200
+++ b/src/imap/cmd-list.c	Tue Feb 25 00:39:44 2003 +0200
@@ -130,7 +130,8 @@
 			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. */