[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-list.c,1.20,1.21

cras at procontrol.fi cras at procontrol.fi
Thu Mar 20 19:38:41 EET 2003


Update of /home/cvs/dovecot/src/lib-storage/index/maildir
In directory danu:/tmp/cvs-serv18128/lib-storage/index/maildir

Modified Files:
	maildir-list.c 
Log Message:
More kludgy LIST fixes for maildir subfolders



Index: maildir-list.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/maildir/maildir-list.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- maildir-list.c	27 Feb 2003 14:48:01 -0000	1.20
+++ maildir-list.c	20 Mar 2003 17:38:39 -0000	1.21
@@ -242,7 +242,8 @@
 			continue; /* ignore inboxes */
 
 		if (match == IMAP_MATCH_PARENT) {
-			ctx->list.flags = MAILBOX_NOSELECT | MAILBOX_CHILDREN;
+			ctx->list.flags =
+				MAILBOX_PLACEHOLDER | MAILBOX_CHILDREN;
 			while ((p = strrchr(fname, '.')) != NULL) {
 				fname = t_strdup_until(fname, p);
 				if (imap_match(ctx->glob, fname) > 0) {




More information about the dovecot-cvs mailing list