diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-05-04 20:06:55 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-05-04 20:06:55 +0400 |
commit | de70cad2b1c9410790920c500d0514bc2cc0e7e1 (patch) | |
tree | c1f9ad654d938300e1086e42a1051bcb5f2a0d13 /src/util.c | |
parent | 3604753e01e1ab6b9c4a43ea199b1cb466960df6 (diff) | |
download | rspamd-de70cad2b1c9410790920c500d0514bc2cc0e7e1.tar.gz rspamd-de70cad2b1c9410790920c500d0514bc2cc0e7e1.zip |
* Temporary disable counters as it is impossible to actually create shared hash
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 } /* |