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.2.7~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36bccebd24cd0b44f77536e80816b1b3dd93e5e2;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 a6ede8efa4..2e5237a097 100644 --- a/src/lua/lua_config.c +++ b/src/lua/lua_config.c @@ -644,14 +644,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; @@ -716,14 +708,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;