Mercurial > dovecot > original-hg > dovecot-1.2
changeset 6306:b2e571ffb776 HEAD
mbox: Return INBOX path correctly for DIR type lookups.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 22 Aug 2007 15:14:58 +0300 |
parents | 7c0268b12001 |
children | 941c435e18c9 |
files | src/lib-storage/list/mailbox-list-fs.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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')