]> source.dussan.org Git - rspamd.git/commitdiff
Fix iterations.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 28 May 2015 12:03:40 +0000 (13:03 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 28 May 2015 12:03:40 +0000 (13:03 +0100)
src/libserver/symbols_cache.c

index 9901b8b011112a4db6babcae3f6b272327f48548..717a4559088c739936d459ef53c496e2e65058eb 100644 (file)
@@ -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;
 }