aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-21 10:28:11 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-21 10:28:11 +0100
commit2b7f12aa512b58b450164289d773a335741cee81 (patch)
tree8951a66c9e96149501fb6cc0871dca93bd101236
parent4d66a68e45cc353e4fa4d5f903fdb151091c5338 (diff)
downloadrspamd-2b7f12aa512b58b450164289d773a335741cee81.tar.gz
rspamd-2b7f12aa512b58b450164289d773a335741cee81.zip
[Minor] Fix idempotent stage fix
-rw-r--r--src/libmime/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/filter.c b/src/libmime/filter.c
index efd3e7bb2..5bbdd87e7 100644
--- a/src/libmime/filter.c
+++ b/src/libmime/filter.c
@@ -266,7 +266,7 @@ insert_result_common (struct rspamd_task *task,
{
struct rspamd_symbol_result *s = NULL;
- if (task->processed_stages & RSPAMD_TASK_STAGE_IDEMPOTENT) {
+ if (task->processed_stages & (RSPAMD_TASK_STAGE_IDEMPOTENT >> 1)) {
msg_err_task ("cannot insert symbol %s on idempotent phase",
symbol);