diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-11-16 16:13:30 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-11-16 16:13:30 +0000 |
commit | e175d9762f84e52c1fae2fca59a12dbbc142034f (patch) | |
tree | 6c7cdb3d6110b733e4973bc97afbfaaca0b6fbae /src/main.c | |
parent | 29ea337d8d38af6babd3ad012b91b022a61bbb0f (diff) | |
download | rspamd-e175d9762f84e52c1fae2fca59a12dbbc142034f.tar.gz rspamd-e175d9762f84e52c1fae2fca59a12dbbc142034f.zip |
Remove unused xml code.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main.c b/src/main.c index 50e295398..c350951f1 100644 --- a/src/main.c +++ b/src/main.c @@ -1123,13 +1123,6 @@ main (gint argc, gchar **argv, gchar **env) /* Init listen sockets hash */ listen_sockets = g_hash_table_new (g_direct_hash, g_direct_equal); - /* Init classifiers options */ - register_classifier_opt ("bayes", "min_tokens"); - register_classifier_opt ("winnow", "min_tokens"); - register_classifier_opt ("bayes", "max_tokens"); - register_classifier_opt ("winnow", "max_tokens"); - register_classifier_opt ("winnow", "learn_threshold"); - /* Pre-init of cache */ rspamd_main->cfg->cache = g_new0 (struct symbols_cache, 1); rspamd_main->cfg->cache->static_pool = memory_pool_new (memory_pool_get_size ()); |