From 8e83bc2d1076daeb0de350b3fff6551054488efe Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 17 Dec 2018 13:54:55 +0000 Subject: [Minor] Core: Store raw bondary in multipart node --- src/lua/lua_mimepart.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lua/lua_mimepart.c') diff --git a/src/lua/lua_mimepart.c b/src/lua/lua_mimepart.c index 56fc0d302..340da7aa2 100644 --- a/src/lua/lua_mimepart.c +++ b/src/lua/lua_mimepart.c @@ -1595,13 +1595,13 @@ lua_mimepart_get_children (lua_State * L) return luaL_error (L, "invalid arguments"); } - if (!IS_CT_MULTIPART (part->ct) || part->specific.mp.children == NULL) { + if (!IS_CT_MULTIPART (part->ct) || part->specific.mp->children == NULL) { lua_pushnil (L); } else { - lua_createtable (L, part->specific.mp.children->len, 0); + lua_createtable (L, part->specific.mp->children->len, 0); - PTR_ARRAY_FOREACH (part->specific.mp.children, i, cur) { + PTR_ARRAY_FOREACH (part->specific.mp->children, i, cur) { pcur = lua_newuserdata (L, sizeof (*pcur)); *pcur = cur; rspamd_lua_setclass (L, "rspamd{mimepart}", -1); -- cgit v1.2.3