Mercurial > dovecot > core-2.2
changeset 9601:069679de3005 HEAD
acl: Fixed previous mbox fix.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 09 Jul 2009 20:13:31 -0400 |
parents | 155a5ddb26f3 |
children | 489727453d1c |
files | src/plugins/acl/acl-backend-vfile-acllist.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/acl/acl-backend-vfile-acllist.c Thu Jul 09 19:20:00 2009 -0400 +++ b/src/plugins/acl/acl-backend-vfile-acllist.c Thu Jul 09 20:13:31 2009 -0400 @@ -42,14 +42,12 @@ { struct mail_storage *storage; const char *rootdir, *maildir; - bool is_file; rootdir = mailbox_list_get_path(backend->backend.list, NULL, MAILBOX_LIST_PATH_TYPE_DIR); storage = mailbox_list_get_namespace(backend->backend.list)->storage; - (void)mail_storage_get_mailbox_path(storage, "", &is_file); - if (is_file) { + if (mail_storage_is_mailbox_file(storage)) { maildir = mailbox_list_get_path(backend->backend.list, NULL, MAILBOX_LIST_PATH_TYPE_MAILBOX); if (strcmp(maildir, rootdir) == 0) {