From 5704b3b55f4e0828c85ee786b46e5cfc93013ea7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 8 Jan 2022 20:44:45 +0000 Subject: [Minor] Fix iteration --- src/plugins/lua/arc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/lua/arc.lua') 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]) -- cgit v1.2.3