changeset 9558:cf3fe573a560 HEAD

quota: If dict quota update fails, log an error.
author Timo Sirainen <tss@iki.fi>
date Tue, 13 Apr 2010 12:49:48 +0300
parents 7798e254ff67
children 9d472f43bcdb
files src/plugins/quota/quota-dict.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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");
 	}
 }