Mercurial > dovecot > core-2.2
changeset 12901:4f1b77b81cf3
lib-storage: Don't try to create /dovecot.mailbox.index when indexes are disabled.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 21 Mar 2011 19:16:14 +0200 |
parents | 0dcbd2357451 |
children | b5768d835e79 |
files | src/lib-storage/mailbox-list.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/mailbox-list.c Mon Mar 21 19:10:08 2011 +0200 +++ b/src/lib-storage/mailbox-list.c Mon Mar 21 19:16:14 2011 +0200 @@ -1111,7 +1111,7 @@ /* don't do this in mailbox_list_create(), because _get_path() might be overridden by storage (mbox). */ path = mailbox_list_get_path(list, NULL, MAILBOX_LIST_PATH_TYPE_INDEX); - if (path == NULL) + if (*path == '\0') return FALSE; path = t_strconcat(path, "/"MAILBOX_LOG_FILE_NAME, NULL);