summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-01 18:19:47 +0000
committerGitHub <noreply@github.com>2016-11-01 18:19:47 +0000
commit246de3cd6ffe6fdfb6af02899ff8d22deff0bdbd (patch)
treed17c0f1280ff79b085b1a1016e2facd69c537941
parentcc5a6e75dd99606dac676cc4e0c547d3f55c9dc2 (diff)
parentf9aac7ffcd771bdf457bc0e76a094db909b43ef2 (diff)
downloadrspamd-246de3cd6ffe6fdfb6af02899ff8d22deff0bdbd.tar.gz
rspamd-246de3cd6ffe6fdfb6af02899ff8d22deff0bdbd.zip
Merge pull request #1088 from fatalbanana/l
[Fix] Fix 'decoded' value in task:get_header_full()
-rw-r--r--src/lua/lua_task.c2
1 files changed, 1 insertions, 1 deletions
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");