dovecot: mbox: Return INBOX path correctly for DIR type lookups.
dovecot at dovecot.org
dovecot at dovecot.org
Wed Aug 22 15:15:03 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/b2e571ffb776
changeset: 6306:b2e571ffb776
user: Timo Sirainen <tss at iki.fi>
date: Wed Aug 22 15:14:58 2007 +0300
description:
mbox: Return INBOX path correctly for DIR type lookups.
diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
src/lib-storage/list/mailbox-list-fs.c | 3 ++-
diffs (13 lines):
diff -r 7c0268b12001 -r b2e571ffb776 src/lib-storage/list/mailbox-list-fs.c
--- a/src/lib-storage/list/mailbox-list-fs.c Thu Aug 16 19:29:15 2007 +0300
+++ b/src/lib-storage/list/mailbox-list-fs.c Wed Aug 22 15:14:58 2007 +0300
@@ -193,7 +193,8 @@ fs_list_get_path(struct mailbox_list *_l
in root directory. */
if (strcmp(name, "INBOX") == 0 && set->inbox_path != NULL &&
((_list->flags & MAILBOX_LIST_FLAG_MAILBOX_FILES) == 0 ||
- type == MAILBOX_LIST_PATH_TYPE_MAILBOX))
+ type == MAILBOX_LIST_PATH_TYPE_MAILBOX ||
+ type == MAILBOX_LIST_PATH_TYPE_DIR))
return set->inbox_path;
if (*set->maildir_name == '\0')
More information about the dovecot-cvs
mailing list