aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_process.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-09 21:57:36 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-09 21:57:36 +0000
commit42e13bdaa1afee59cbbd62b2001e05e4f53f4888 (patch)
treed6efc5237ebd30b84b470039f06591dbc701f377 /src/libstat/stat_process.c
parentdefd16920cb48f0fc1d2074ab551ba5b3b008e11 (diff)
downloadrspamd-42e13bdaa1afee59cbbd62b2001e05e4f53f4888.tar.gz
rspamd-42e13bdaa1afee59cbbd62b2001e05e4f53f4888.zip
Fix learn errors reporting
Diffstat (limited to 'src/libstat/stat_process.c')
-rw-r--r--src/libstat/stat_process.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c
index 81986f552..4bf99b98b 100644
--- a/src/libstat/stat_process.c
+++ b/src/libstat/stat_process.c
@@ -843,10 +843,6 @@ rspamd_stat_check_autolearn (struct rspamd_task *task)
}
}
- if (ret) {
- task->flags |= RSPAMD_TASK_FLAG_LEARN_AUTO;
- }
-
return ret;
}