Mercurial > dovecot > core-2.2
changeset 11811:3972e896865d
imap: Fixed checking if list=children namespace has children.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 13 Jul 2010 21:04:55 +0100 |
parents | 14132e025946 |
children | c34681558f46 |
files | src/imap/cmd-list.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/cmd-list.c Tue Jul 13 21:04:11 2010 +0100 +++ b/src/imap/cmd-list.c Tue Jul 13 21:04:55 2010 +0100 @@ -205,7 +205,8 @@ if ((ctx->list_flags & MAILBOX_LIST_ITER_SELECT_SUBSCRIBED) != 0) list_flags |= MAILBOX_LIST_ITER_SELECT_SUBSCRIBED; - list_iter = mailbox_list_iter_init(ctx->ns->list, "%", list_flags); + list_iter = mailbox_list_iter_init(ctx->ns->list, + t_strconcat(ctx->ns->prefix, "%", NULL), list_flags); info = mailbox_list_iter_next(list_iter); if (info != NULL) ret = TRUE;