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

cras at procontrol.fi cras at procontrol.fi
Thu Feb 27 16:48:03 EET 2003


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

Modified Files:
	cmd-list.c 
Log Message:
Maildir LIST \Children fixes.



Index: cmd-list.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/cmd-list.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- cmd-list.c	24 Feb 2003 22:39:44 -0000	1.19
+++ cmd-list.c	27 Feb 2003 14:48:00 -0000	1.20
@@ -130,8 +130,8 @@
 			name = node->name;
 		send_name = name;
 
-		if (node->flags != MAILBOX_PLACEHOLDER &&
-		    node->flags != MAILBOX_NOSELECT)
+		if ((node->flags & MAILBOX_PLACEHOLDER) == 0 &&
+		    (node->flags & MAILBOX_NOSELECT) == 0)
 			match = IMAP_MATCH_YES;
 		else {
 			/* make sure the placeholder matches. */




More information about the dovecot-cvs mailing list