From: Vsevolod Stakhov Date: Thu, 28 May 2015 12:03:40 +0000 (+0100) Subject: Fix iterations. X-Git-Tag: 1.0.0~589 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b0f46e3217b68fe38686e85d6a2139a3c70873d;p=thirdparty%2Frspamd.git Fix iterations. --- diff --git a/src/libserver/symbols_cache.c b/src/libserver/symbols_cache.c index 9901b8b011..717a455908 100644 --- a/src/libserver/symbols_cache.c +++ b/src/libserver/symbols_cache.c @@ -752,7 +752,7 @@ rspamd_symbols_cache_counters (struct symbols_cache * cache) cbd.top = top; cbd.cache = cache; g_hash_table_foreach (cache->items_by_symbol, - rspamd_symbols_cache_counters_cb, top); + rspamd_symbols_cache_counters_cb, &cbd); return top; }