Mercurial > dovecot > core-2.2
changeset 12369:eb72f2523ffa
lib-storage: Maildir++ mailbox listing could have given wrong flags to parent mailboxes.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 02 Nov 2010 19:23:37 +0000 |
parents | 055e5206b836 |
children | b4b6bf889044 |
files | src/lib-storage/list/mailbox-list-maildir-iter.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/list/mailbox-list-maildir-iter.c Tue Nov 02 18:25:53 2010 +0000 +++ b/src/lib-storage/list/mailbox-list-maildir-iter.c Tue Nov 02 19:23:37 2010 +0000 @@ -42,7 +42,7 @@ static void maildir_fill_parents(struct maildir_list_iterate_context *ctx, struct imap_match_glob *glob, bool update_only, - string_t *mailbox, enum mailbox_info_flags flags) + string_t *mailbox) { struct mail_namespace *ns = ctx->ctx.list->ns; struct mailbox_node *node; @@ -75,7 +75,7 @@ } if (!update_only) node->flags |= MAILBOX_MATCHED; - node->flags |= MAILBOX_CHILDREN | flags; + node->flags |= MAILBOX_CHILDREN; node->flags &= ~MAILBOX_NOCHILDREN; node_fix_parents(node); } @@ -338,7 +338,7 @@ if ((match & IMAP_MATCH_PARENT) != 0) { T_BEGIN { maildir_fill_parents(ctx, glob, update_only, - mailbox, flags); + mailbox); } T_END; } else { created = FALSE;