Mercurial > dovecot > original-hg > dovecot-1.2
changeset 9627:8c8bde0f9120 HEAD
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 | ec7ce2647131 |
children | e388554e373f |
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 17:31:14 2010 +0000 +++ b/src/lib-storage/list/mailbox-list-maildir-iter.c Tue Nov 02 19:23:37 2010 +0000 @@ -38,7 +38,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; @@ -81,7 +81,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); } @@ -202,7 +202,7 @@ if ((match & IMAP_MATCH_PARENT) != 0) { T_BEGIN { maildir_fill_parents(ctx, glob, update_only, - mailbox, flags); + mailbox); } T_END; } else { created = FALSE;