dovecot-2.2: quota: Fix to previous commit - counting quota-disa...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Sep 28 13:39:04 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/15be6c2e26c0
changeset: 19250:15be6c2e26c0
user: Timo Sirainen <tss at iki.fi>
date: Mon Sep 28 16:37:37 2015 +0300
description:
quota: Fix to previous commit - counting quota-disabled-storages may have returned random failures.
diffstat:
src/plugins/quota/quota-count.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 2db9595b302e -r 15be6c2e26c0 src/plugins/quota/quota-count.c
--- a/src/plugins/quota/quota-count.c Mon Sep 28 16:20:02 2015 +0300
+++ b/src/plugins/quota/quota-count.c Mon Sep 28 16:37:37 2015 +0300
@@ -36,6 +36,7 @@
box = mailbox_alloc(ns->list, vname, MAILBOX_FLAG_READONLY);
if ((box->storage->class_flags & MAIL_STORAGE_CLASS_FLAG_NOQUOTA) != 0) {
/* quota doesn't exist for this mailbox/storage */
+ ret = 0;
} else if (mailbox_get_metadata(box, root->quota->set->vsizes ?
MAILBOX_METADATA_VIRTUAL_SIZE :
MAILBOX_METADATA_PHYSICAL_SIZE,
More information about the dovecot-cvs
mailing list