dovecot-1.2: quota-fs: If mount=path isn't specified, don't fail...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Oct 15 20:51:07 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/439e14ff1467
changeset: 9432:439e14ff1467
user: Timo Sirainen <tss at iki.fi>
date: Thu Oct 15 13:51:00 2009 -0400
description:
quota-fs: If mount=path isn't specified, don't fail with multiple quota roots.
diffstat:
1 file changed, 3 insertions(+)
src/plugins/quota/quota-fs.c | 3 +++
diffs (13 lines):
diff -r a8254e6d5ada -r 439e14ff1467 src/plugins/quota/quota-fs.c
--- a/src/plugins/quota/quota-fs.c Thu Oct 15 13:20:44 2009 -0400
+++ b/src/plugins/quota/quota-fs.c Thu Oct 15 13:51:00 2009 -0400
@@ -712,6 +712,9 @@ static bool fs_quota_match_box(struct qu
const char *mailbox_path;
bool is_file, match;
+ if (root->storage_mount_path == NULL)
+ return TRUE;
+
mailbox_path = mail_storage_get_mailbox_path(box->storage, box->name,
&is_file);
if (stat(mailbox_path, &mst) < 0) {
More information about the dovecot-cvs
mailing list