summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_mimepart.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-04 11:58:31 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-04 12:06:18 +0100
commit2e43b3e2be1d7d0cf677b965e4484742a581b292 (patch)
tree75359dbc55483803186006d26fa40d26c1c4324b /src/lua/lua_mimepart.c
parent5e59527bb11dfd2e5a9c439c6957cf6e9df57256 (diff)
downloadrspamd-2e43b3e2be1d7d0cf677b965e4484742a581b292.tar.gz
rspamd-2e43b3e2be1d7d0cf677b965e4484742a581b292.zip
[Feature] Add task:headers_foreach function
Diffstat (limited to 'src/lua/lua_mimepart.c')
-rw-r--r--src/lua/lua_mimepart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_mimepart.c b/src/lua/lua_mimepart.c
index 21640aab5..dba53a2d7 100644
--- a/src/lua/lua_mimepart.c
+++ b/src/lua/lua_mimepart.c
@@ -741,7 +741,7 @@ lua_mimepart_get_header_common (lua_State *L, gboolean full, gboolean raw)
ar = rspamd_message_get_header_from_hash (part->raw_headers, NULL,
name, FALSE);
- return rspamd_lua_push_header (L, ar, name, FALSE, full, raw);
+ return rspamd_lua_push_header_array (L, ar, full, raw);
}
lua_pushnil (L);