aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-03 18:18:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-03 18:18:43 +0100
commit36d8785fd0820ab6b5d07aad43d41da427ed9a12 (patch)
treefd52d2eb20e234a3db1808fc931116c72401f398 /src/libserver/task.c
parent6ea9d773ac6752ab040c38e83de8992c59365176 (diff)
downloadrspamd-36d8785fd0820ab6b5d07aad43d41da427ed9a12.tar.gz
rspamd-36d8785fd0820ab6b5d07aad43d41da427ed9a12.zip
[Feature] Various improvements in greylist module
Diffstat (limited to 'src/libserver/task.c')
-rw-r--r--src/libserver/task.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c
index 890e05f20..3bedb7cf1 100644
--- a/src/libserver/task.c
+++ b/src/libserver/task.c
@@ -430,7 +430,6 @@ rspamd_task_process (struct rspamd_task *task, guint stages)
return TRUE;
}
-
if (RSPAMD_TASK_IS_PROCESSED (task)) {
return TRUE;
}
@@ -440,9 +439,9 @@ rspamd_task_process (struct rspamd_task *task, guint stages)
task->processed_stages |= RSPAMD_TASK_STAGE_DONE;
msg_info_task ("skip filters, as pre-filter returned %s action",
rspamd_action_to_str (task->pre_result.action));
+ return TRUE;
}
-
task->flags |= RSPAMD_TASK_FLAG_PROCESSING;
st = rspamd_task_select_processing_stage (task, stages);