aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/arc.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-08 20:44:45 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-08 20:44:45 +0000
commit5704b3b55f4e0828c85ee786b46e5cfc93013ea7 (patch)
tree728575d5113c1bc6e2952f72c6cf1eb0801a2849 /src/plugins/lua/arc.lua
parent80eb112471a4089ba643d9337e11618879203918 (diff)
downloadrspamd-5704b3b55f4e0828c85ee786b46e5cfc93013ea7.tar.gz
rspamd-5704b3b55f4e0828c85ee786b46e5cfc93013ea7.zip
[Minor] Fix iteration
Diffstat (limited to 'src/plugins/lua/arc.lua')
-rw-r--r--src/plugins/lua/arc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua
index ca2f561a5..8252424ab 100644
--- a/src/plugins/lua/arc.lua
+++ b/src/plugins/lua/arc.lua
@@ -118,7 +118,7 @@ local function parse_arc_header(hdr, target, is_aar)
else
-- For AAR we check special case of i=%d and pass everything else to
-- AAR specific parser
- for elt in ipairs(elts) do
+ for _,elt in ipairs(elts) do
if string.match(elt, "%s*i%s*=%s*%d+%s*") then
local pair = lua_util.rspamd_str_split(elt, '=')
fill_arc_header_table(pair, target[i])