From: Vsevolod Stakhov Date: Mon, 4 May 2009 16:06:55 +0000 (+0400) Subject: * Temporary disable counters as it is impossible to actually create shared hash X-Git-Tag: 0.2.7~156 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=de70cad2b1c9410790920c500d0514bc2cc0e7e1;p=rspamd.git * Temporary disable counters as it is impossible to actually create shared hash --- 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 } /*