From: Vsevolod Stakhov Date: Tue, 11 Jun 2013 15:55:22 +0000 (+0100) Subject: Reset mods counter on cache file sync. X-Git-Tag: 0.6.0~297 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af80494c3c199a96eb9b58fae38ba7edfe06ceba;p=thirdparty%2Frspamd.git Reset mods counter on cache file sync. --- diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index 919d9e4c8e..c5ceb1b1c3 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -334,6 +334,7 @@ sync_cache (gpointer ud) expire_nodes (nodes_expired, expired_num, ctx); rspamd_rwlock_writer_unlock (ctx->tree_lock); } + mods = 0; end: if (nodes_expired != NULL) { g_free (nodes_expired);