[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-list.c,1.14,1.15

cras at procontrol.fi cras at procontrol.fi
Thu Feb 20 18:41:19 EET 2003


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

Modified Files:
	mbox-list.c 
Log Message:
Removed list-sort workarounds. It's pretty much needed for maildir listing.
Also added some more complexity and kludging to make everything work
correctly.



Index: mbox-list.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-list.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- mbox-list.c	19 Feb 2003 19:55:27 -0000	1.14
+++ mbox-list.c	20 Feb 2003 16:41:16 -0000	1.15
@@ -291,7 +291,7 @@
 
 	if (match == IMAP_MATCH_PARENT) {
 		/* placeholder */
-		ctx->list.flags = MAILBOX_NOSELECT;
+		ctx->list.flags = MAILBOX_PLACEHOLDER;
 		while ((p = strrchr(name, '/')) != NULL) {
 			name = t_strdup_until(name, p);
 			if (imap_match(ctx->glob, name) > 0) {




More information about the dovecot-cvs mailing list