# HG changeset patch # User Timo Sirainen # Date 1251760572 14400 # Node ID 39561fccb623e62fdd2de20eb9971f093cc18b51 # Parent ecb05365f520b8954a7a1e6ba52f72e97e2f834c lib-storage: Allow selecting namespace prefix even when list=no. diff -r ecb05365f520 -r 39561fccb623 src/lib-storage/mailbox-list.c --- 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;