dovecot-2.0: quota: If dict quota update fails, log an error.
dovecot at dovecot.org
dovecot at dovecot.org
Tue Apr 13 12:49:50 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/b24789f95476
changeset: 11133:b24789f95476
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 3d585e69aa95 -r b24789f95476 src/plugins/quota/quota-dict.c
--- a/src/plugins/quota/quota-dict.c Tue Apr 13 12:33:17 2010 +0300
+++ b/src/plugins/quota/quota-dict.c Tue Apr 13 12:49:48 2010 +0300
@@ -167,6 +167,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