diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-04-07 21:22:34 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-04-07 21:22:34 +0100 |
commit | e9418b12ff5cab4c366af3751906f5e95ba3df7a (patch) | |
tree | f83defcc32c8d172d536986d92df9a00a25a9227 /src/libstat/stat_process.c | |
parent | e7c1a6a9a153a5832fd7748927961949b63728cb (diff) | |
download | rspamd-e9418b12ff5cab4c366af3751906f5e95ba3df7a.tar.gz rspamd-e9418b12ff5cab4c366af3751906f5e95ba3df7a.zip |
[Project] Rework scan result functions to support shadow results
Diffstat (limited to 'src/libstat/stat_process.c')
-rw-r--r-- | src/libstat/stat_process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c index fc42cd875..93287dc68 100644 --- a/src/libstat/stat_process.c +++ b/src/libstat/stat_process.c @@ -881,7 +881,7 @@ rspamd_stat_has_classifier_symbols (struct rspamd_task *task, id = g_array_index (cl->statfiles_ids, gint, i); st = g_ptr_array_index (st_ctx->statfiles, id); - if (rspamd_task_find_symbol_result (task, st->stcf->symbol)) { + if (rspamd_task_find_symbol_result (task, st->stcf->symbol, NULL)) { if (is_spam == !!st->stcf->is_spam) { msg_debug_bayes ("do not autolearn %s as symbol %s is already " "added", is_spam ? "spam" : "ham", st->stcf->symbol); |