]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
quota: If dict quota update fails, log an error.
authorTimo Sirainen <tss@iki.fi>
Tue, 13 Apr 2010 09:49:48 +0000 (12:49 +0300)
committerTimo Sirainen <tss@iki.fi>
Tue, 13 Apr 2010 09:49:48 +0000 (12:49 +0300)
--HG--
branch : HEAD

src/plugins/quota/quota-dict.c

index 2c597ddbf404bced3981b43150b38fbd6e04ece8..8a5be534c09d81cb0462aba3d2879bbf8d089c7b 100644 (file)
@@ -167,6 +167,8 @@ static void dict_quota_update_callback(int ret, void *context)
        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");
        }
 }