Mercurial > dovecot > original-hg > dovecot-1.2
changeset 5571:00aaa3ba21c0 HEAD
fix
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 17 Apr 2007 19:04:15 +0300 |
parents | 1b7edfc77e9f |
children | 896845fbc4ed |
files | src/imap/cmd-list.c |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/cmd-list.c Tue Apr 17 19:03:47 2007 +0300 +++ b/src/imap/cmd-list.c Tue Apr 17 19:04:15 2007 +0300 @@ -236,7 +236,6 @@ const char *cur_ns_prefix, *cur_ref, *cur_mask; enum imap_match_result match; enum imap_match_result inbox_match; - enum mailbox_list_flags list_flags; struct mailbox_list *list; struct imap_match_glob *inbox_glob; unsigned int count; @@ -395,13 +394,10 @@ cur_ref = mail_namespace_fix_sep(ns, cur_ref); cur_mask = mail_namespace_fix_sep(ns, cur_mask); - list_flags = ctx->list_flags; - if (ctx->match_inbox) - list_flags |= MAILBOX_LIST_FLAG_INBOX; - list = mail_storage_get_list(ns->storage); cur_mask = mailbox_list_join_refmask(list, cur_ref, cur_mask); - ctx->list_iter = mailbox_list_iter_init(list, cur_mask, list_flags); + ctx->list_iter = mailbox_list_iter_init(list, cur_mask, + ctx->list_flags); } static bool cmd_list_continue(struct client_command_context *cmd)