From: Vsevolod Stakhov Date: Tue, 18 Aug 2020 11:22:50 +0000 (+0100) Subject: [Minor] Spamassassin: Remove ffi call X-Git-Tag: 2.6~149 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=749baf462ac7659c832e6f337e52fb7c75695166;p=thirdparty%2Frspamd.git [Minor] Spamassassin: Remove ffi call --- diff --git a/src/plugins/lua/spamassassin.lua b/src/plugins/lua/spamassassin.lua index f69c5aa668..07ffd193a5 100644 --- a/src/plugins/lua/spamassassin.lua +++ b/src/plugins/lua/spamassassin.lua @@ -166,6 +166,8 @@ if type(jit) == 'table' then end local function process_regexp_opt(re, task, re_type, header, strong) + --[[ + -- This is now broken with lua regexp conditions! if type(jit) == 'table' then -- Use ffi call local itype = ffi.C.rspamd_re_cache_type_from_string(re_type) @@ -181,6 +183,8 @@ local function process_regexp_opt(re, task, re_type, header, strong) else return task:process_regexp(re, re_type, header, strong) end + --]] + return task:process_regexp(re, re_type, header, strong) end local function is_pcre_only(name)