aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/classifiers
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-05 19:04:24 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-05 19:04:24 +0000
commit29b7115762ad84865b6b657c8f5e88aba16e8eb4 (patch)
tree3510b622bcc91644234a9e9a25825d3f7c1b1de6 /src/libstat/classifiers
parente5676fe57ac78238817b64efa107e00d34485a9c (diff)
downloadrspamd-29b7115762ad84865b6b657c8f5e88aba16e8eb4.tar.gz
rspamd-29b7115762ad84865b6b657c8f5e88aba16e8eb4.zip
Fix init/deinit of statistics
Diffstat (limited to 'src/libstat/classifiers')
-rw-r--r--src/libstat/classifiers/classifiers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstat/classifiers/classifiers.h b/src/libstat/classifiers/classifiers.h
index 52b9a89f7..86395c96d 100644
--- a/src/libstat/classifiers/classifiers.h
+++ b/src/libstat/classifiers/classifiers.h
@@ -4,6 +4,7 @@
#include "config.h"
#include "mem_pool.h"
+#define RSPAMD_DEFAULT_CLASSIFIER "bayes"
/* Consider this value as 0 */
#define ALPHA 0.0001