dovecot-1.2: lib-storage: Allow selecting namespace prefix even ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Sep 1 02:15:45 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/a5d530edfafe
changeset: 9349:a5d530edfafe
user: Timo Sirainen <tss at iki.fi>
date: Mon Aug 31 19:13:54 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 3eacb6bbd227 -r a5d530edfafe src/lib-storage/mailbox-list.c
--- 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
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