Mercurial > dovecot > original-hg > dovecot-1.2
changeset 9349:a5d530edfafe HEAD
lib-storage: Allow selecting namespace prefix even when list=no.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 31 Aug 2009 19:13:54 -0400 |
parents | 3eacb6bbd227 |
children | 4e031f3d9083 |
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 18:53:17 2009 -0400 +++ b/src/lib-storage/mailbox-list.c Mon Aug 31 19:13:54 2009 -0400 @@ -433,8 +433,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;