From: Vsevolod Stakhov Date: Tue, 3 May 2016 15:49:59 +0000 (+0100) Subject: [CritFix] Pre-filters and post-filters were completely broken X-Git-Tag: 1.3.0~564 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88c10484ff3802b59d8bcc7e9832e9fe97c9bb89;p=thirdparty%2Frspamd.git [CritFix] Pre-filters and post-filters were completely broken --- diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c index fb84c4988f..15733ec143 100644 --- a/src/lua/lua_config.c +++ b/src/lua/lua_config.c @@ -671,14 +671,6 @@ rspamd_lua_call_post_filters (struct rspamd_task *task) struct rspamd_task **ptask; GList *cur; - if (task->checkpoint == NULL) { - task->checkpoint = GUINT_TO_POINTER (0x1); - } - else { - /* Do not process if done */ - return; - } - cur = task->cfg->post_filters; while (cur) { cd = cur->data; @@ -751,14 +743,6 @@ rspamd_lua_call_pre_filters (struct rspamd_task *task) struct rspamd_task **ptask; GList *cur; - if (task->checkpoint == NULL) { - task->checkpoint = GUINT_TO_POINTER (0x1); - } - else { - /* Do not process if done */ - return; - } - cur = task->cfg->pre_filters; while (cur) { cd = cur->data;