dovecot-1.2: quota: If dict quota update fails, log an error.
dovecot at dovecot.org
dovecot at dovecot.org
Tue Apr 13 13:39:50 EEST 2010
details: http://hg.dovecot.org/dovecot-1.2/rev/cf3fe573a560
changeset: 9558:cf3fe573a560
user: Timo Sirainen <tss at iki.fi>
date: Tue Apr 13 12:49:48 2010 +0300
description:
quota: If dict quota update fails, log an error.
diffstat:
src/plugins/quota/quota-dict.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 7798e254ff67 -r cf3fe573a560 src/plugins/quota/quota-dict.c
--- a/src/plugins/quota/quota-dict.c Mon Apr 05 01:36:02 2010 +0300
+++ b/src/plugins/quota/quota-dict.c Tue Apr 13 12:49:48 2010 +0300
@@ -169,6 +169,8 @@
if (ret == 0) {
/* row doesn't exist, need to recalculate it */
(void)dict_quota_count(root, TRUE, &value);
+ } else if (ret < 0) {
+ i_error("dict quota: Quota update failed, it's now desynced");
}
}
More information about the dovecot-cvs
mailing list