aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-15 15:08:29 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-15 15:08:29 +0000
commitfa934c88f35c402aa01d5c039bb11040cb2afa63 (patch)
tree4fc88c927ddabf1f4956cb1a2ef8d53811750ec1 /src
parentee40b9d1146420d00f1ccf356716dc2c5b87e318 (diff)
downloadrspamd-fa934c88f35c402aa01d5c039bb11040cb2afa63.tar.gz
rspamd-fa934c88f35c402aa01d5c039bb11040cb2afa63.zip
[Fix] Disable headernames in bayes temporarily
Diffstat (limited to 'src')
-rw-r--r--src/libstat/stat_process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c
index e06bd1fe3..e4f95a514 100644
--- a/src/libstat/stat_process.c
+++ b/src/libstat/stat_process.c
@@ -185,6 +185,7 @@ rspamd_stat_tokenize_parts_metadata (struct rspamd_stat_ctx *st_ctx,
}
/* Use more precise headers order */
+#if 0
cur = g_list_first (task->headers_order->head);
while (cur) {
hdr = cur->data;
@@ -197,6 +198,7 @@ rspamd_stat_tokenize_parts_metadata (struct rspamd_stat_ctx *st_ctx,
cur = g_list_next (cur);
}
+#endif
/* Use metatokens plugin from Lua */
lua_getglobal (L, "rspamd_plugins");