From: Andrew Lewis Date: Tue, 1 Nov 2016 18:13:34 +0000 (+0200) Subject: [Fix] Fix 'decoded' value in task:get_header_full() X-Git-Tag: 1.4.0~143^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F1088%2Fhead;p=rspamd.git [Fix] Fix 'decoded' value in task:get_header_full() --- diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 679e7b002..e686876f7 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -1446,7 +1446,7 @@ rspamd_lua_push_header (lua_State * L, } if (rh->decoded) { - rspamd_lua_table_set (L, "decoded", rh->value); + rspamd_lua_table_set (L, "decoded", rh->decoded); } lua_pushstring (L, "tab_separated");