From de70cad2b1c9410790920c500d0514bc2cc0e7e1 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 4 May 2009 20:06:55 +0400 Subject: [PATCH] * Temporary disable counters as it is impossible to actually create shared hash --- src/util.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/util.c b/src/util.c index 7d636b843..93774a9ae 100644 --- a/src/util.c +++ b/src/util.c @@ -818,7 +818,8 @@ set_counter (const char *name, long int value) struct counter_data *cd; double alpha; char *key; - + +#if 0 cd = rspamd_hash_lookup (counters, (gpointer)name); if (cd == NULL) { @@ -837,6 +838,7 @@ set_counter (const char *name, long int value) memory_pool_wunlock_rwlock (counters->lock); } +#endif } /* -- 2.39.5