Mercurial > dovecot > original-hg > dovecot-1.2
diff src/plugins/quota/quota-fs.c @ 9432:439e14ff1467 HEAD
quota-fs: If mount=path isn't specified, don't fail with multiple quota roots.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 15 Oct 2009 13:51:00 -0400 |
parents | fe063e0d7109 |
children | 00cd9aacd03c |
line wrap: on
line diff
--- 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 @@ 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) {