dovecot-2.1: imapc: Place index files under root_dir/indexes/ di...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Sep 7 11:52:18 EEST 2011
details: http://hg.dovecot.org/dovecot-2.1/rev/c943580d3a1b
changeset: 13423:c943580d3a1b
user: Timo Sirainen <tss at iki.fi>
date: Wed Sep 07 11:52:08 2011 +0300
description:
imapc: Place index files under root_dir/indexes/ directory.
diffstat:
src/lib-storage/index/imapc/imapc-list.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 9815d3292470 -r c943580d3a1b src/lib-storage/index/imapc/imapc-list.c
--- a/src/lib-storage/index/imapc/imapc-list.c Wed Sep 07 11:30:05 2011 +0300
+++ b/src/lib-storage/index/imapc/imapc-list.c Wed Sep 07 11:52:08 2011 +0300
@@ -189,8 +189,8 @@
/* the root dir shouldn't actually ever be used. we just need
it to be different from index_dir so the index directories
get autocreated */
- list_set.root_dir = t_strconcat(dir, "/", NULL);
- list_set.index_dir = dir;
+ list_set.root_dir = dir;
+ list_set.index_dir = t_strconcat(dir, "/indexes", NULL);
list_set.escape_char = '%';
if (mailbox_list_create(list_set.layout, list->list.ns,
More information about the dovecot-cvs
mailing list