dovecot-1.2: quota: Compiler warning fix.
dovecot at dovecot.org
dovecot at dovecot.org
Fri Apr 17 05:08:06 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/56b21ef694cc
changeset: 8960:56b21ef694cc
user: Timo Sirainen <tss at iki.fi>
date: Thu Apr 16 22:07:54 2009 -0400
description:
quota: Compiler warning fix.
diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
src/plugins/quota/quota-maildir.c | 5 +++--
diffs (22 lines):
diff -r 33f3016673aa -r 56b21ef694cc src/plugins/quota/quota-maildir.c
--- a/src/plugins/quota/quota-maildir.c Thu Apr 16 21:56:20 2009 -0400
+++ b/src/plugins/quota/quota-maildir.c Thu Apr 16 22:07:54 2009 -0400
@@ -377,7 +377,7 @@ static int maildirsize_recalculate(struc
/* count mails from all storages */
storages = array_get(&root->root.quota->storages, &count);
for (i = 0; i < count; i++) {
- if (!quota_root_is_storage_visible(root, storages[i]))
+ if (!quota_root_is_storage_visible(&root->root, storages[i]))
continue;
if (maildirsize_recalculate_storage(root, storages[i]) < 0) {
@@ -389,7 +389,8 @@ static int maildirsize_recalculate(struc
if (ret == 0) {
/* check if any of the directories have changed */
for (i = 0; i < count; i++) {
- if (!quota_root_is_storage_visible(root, storages[i]))
+ if (!quota_root_is_storage_visible(&root->root,
+ storages[i]))
continue;
ret = maildirs_check_have_changed(root, storages[i],
More information about the dovecot-cvs
mailing list