dovecot-2.2: fs layout: Absolute paths as mailbox names shouldn'...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Sep 3 13:27:34 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/d136c0869774
changeset: 17759:d136c0869774
user: Timo Sirainen <tss at iki.fi>
date: Fri Aug 29 13:22:11 2014 +0900
description:
fs layout: Absolute paths as mailbox names shouldn't return index with INDEX=MEMORY
diffstat:
src/lib-storage/list/mailbox-list-fs.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 6980c53bf7d7 -r d136c0869774 src/lib-storage/list/mailbox-list-fs.c
--- a/src/lib-storage/list/mailbox-list-fs.c Fri Aug 29 02:14:43 2014 +0900
+++ b/src/lib-storage/list/mailbox-list-fs.c Fri Aug 29 13:22:11 2014 +0900
@@ -75,6 +75,9 @@
i_assert(mailbox_list_is_valid_name(_list, name, &error));
if (mailbox_list_try_get_absolute_path(_list, &name)) {
+ if (type == MAILBOX_LIST_PATH_TYPE_INDEX &&
+ *set->index_dir == '\0')
+ return 0;
*path_r = name;
return 1;
}
More information about the dovecot-cvs
mailing list