dovecot-2.0: imap: Fixed checking if list=children namespace has...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jul 13 23:04:59 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/3972e896865d
changeset: 11811:3972e896865d
user: Timo Sirainen <tss at iki.fi>
date: Tue Jul 13 21:04:55 2010 +0100
description:
imap: Fixed checking if list=children namespace has children.
diffstat:
src/imap/cmd-list.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 14132e025946 -r 3972e896865d src/imap/cmd-list.c
--- 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;
More information about the dovecot-cvs
mailing list