Mercurial > dovecot > core-2.2
changeset 9848:39561fccb623 HEAD
lib-storage: Allow selecting namespace prefix even when list=no.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 31 Aug 2009 19:16:12 -0400 |
parents | ecb05365f520 |
children | faa19e000b57 |
files | src/lib-storage/mailbox-list.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/mailbox-list.c Mon Aug 31 19:05:22 2009 -0400 +++ b/src/lib-storage/mailbox-list.c Mon Aug 31 19:16:12 2009 -0400 @@ -472,8 +472,7 @@ bool mailbox_list_is_valid_existing_name(struct mailbox_list *list, const char *name) { - if (*name == '\0' && *list->ns->prefix != '\0' && - (list->ns->flags & NAMESPACE_FLAG_LIST_PREFIX) != 0) { + if (*name == '\0' && *list->ns->prefix != '\0') { /* an ugly way to get to mailbox root (e.g. Maildir/ when it's not the INBOX) */ return TRUE;