dovecot-2.0: lib-storage: Allow selecting namespace prefix even ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Sep 1 02:16:19 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/39561fccb623
changeset: 9848:39561fccb623
user: Timo Sirainen <tss at iki.fi>
date: Mon Aug 31 19:16:12 2009 -0400
description:
lib-storage: Allow selecting namespace prefix even when list=no.
diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
src/lib-storage/mailbox-list.c | 3 +--
diffs (13 lines):
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
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;
More information about the dovecot-cvs
mailing list