[dovecot-cvs] dovecot/src/imap cmd-list.c,1.18,1.19

cras at procontrol.fi cras at procontrol.fi
Tue Feb 25 00:39:47 EET 2003


Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv32491

Modified Files:
	cmd-list.c 
Log Message:
placeholder -> noselect change broke LIST "" "foo/%" not showing foo/.



Index: cmd-list.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/cmd-list.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- cmd-list.c	24 Feb 2003 18:30:23 -0000	1.18
+++ cmd-list.c	24 Feb 2003 22:39:44 -0000	1.19
@@ -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. */




More information about the dovecot-cvs mailing list