Mercurial > dovecot > core-2.2
changeset 1264:69642d55545d HEAD
Maildir LIST \Children fixes.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 27 Feb 2003 16:48:00 +0200 |
parents | 500ec0ec3b85 |
children | fd2ccb3d67e4 |
files | src/imap/cmd-list.c src/lib-storage/index/maildir/maildir-list.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/cmd-list.c Thu Feb 27 00:19:51 2003 +0200 +++ b/src/imap/cmd-list.c Thu Feb 27 16:48:00 2003 +0200 @@ -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. */
--- a/src/lib-storage/index/maildir/maildir-list.c Thu Feb 27 00:19:51 2003 +0200 +++ b/src/lib-storage/index/maildir/maildir-list.c Thu Feb 27 16:48:00 2003 +0200 @@ -242,7 +242,7 @@ continue; /* ignore inboxes */ if (match == IMAP_MATCH_PARENT) { - ctx->list.flags = MAILBOX_NOSELECT; + ctx->list.flags = MAILBOX_NOSELECT | MAILBOX_CHILDREN; while ((p = strrchr(fname, '.')) != NULL) { fname = t_strdup_until(fname, p); if (imap_match(ctx->glob, fname) > 0) {