]> source.dussan.org Git - rspamd.git/commitdiff
* Temporary disable counters as it is impossible to actually create shared hash
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Mon, 4 May 2009 16:06:55 +0000 (20:06 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Mon, 4 May 2009 16:06:55 +0000 (20:06 +0400)
src/util.c

index 7d636b84315b293e293421c98f5d0f182045602f..93774a9aed287ad0efd4e6f2a4d8d984bbc45a15 100644 (file)
@@ -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
 }
 
 /*