dovecot-2.0: acl: Fixed previous mbox fix.
dovecot at dovecot.org
dovecot at dovecot.org
Fri Jul 10 03:13:36 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/069679de3005
changeset: 9601:069679de3005
user: Timo Sirainen <tss at iki.fi>
date: Thu Jul 09 20:13:31 2009 -0400
description:
acl: Fixed previous mbox fix.
diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
src/plugins/acl/acl-backend-vfile-acllist.c | 4 +---
diffs (19 lines):
diff -r 155a5ddb26f3 -r 069679de3005 src/plugins/acl/acl-backend-vfile-acllist.c
--- 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 @@ static const char *acl_list_get_root_dir
{
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) {
More information about the dovecot-cvs
mailing list