comparison src/plugins/quota/quota-dict.c @ 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 00cd9aacd03c
children
comparison
equal deleted inserted replaced
9557:7798e254ff67 9558:cf3fe573a560
167 uint64_t value; 167 uint64_t value;
168 168
169 if (ret == 0) { 169 if (ret == 0) {
170 /* row doesn't exist, need to recalculate it */ 170 /* row doesn't exist, need to recalculate it */
171 (void)dict_quota_count(root, TRUE, &value); 171 (void)dict_quota_count(root, TRUE, &value);
172 } else if (ret < 0) {
173 i_error("dict quota: Quota update failed, it's now desynced");
172 } 174 }
173 } 175 }
174 176
175 static int 177 static int
176 dict_quota_update(struct quota_root *_root, 178 dict_quota_update(struct quota_root *_root,