Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8960:56b21ef694cc HEAD
quota: Compiler warning fix.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 16 Apr 2009 22:07:54 -0400 |
parents | 33f3016673aa |
children | b2cd58981808 |
files | src/plugins/quota/quota-maildir.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ /* 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 @@ 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],