]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Fix idempotent stage fix
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 21 Oct 2017 09:28:11 +0000 (10:28 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 21 Oct 2017 09:28:11 +0000 (10:28 +0100)
src/libmime/filter.c

index efd3e7bb291f74f293a4798f749b2d9bd52f7e65..5bbdd87e7a41ab7db50b08334fdb9cb6760b6ac2 100644 (file)
@@ -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);