diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-08 13:43:13 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-08 16:35:42 +0100 |
commit | 47e27ce0f8ecf8dff0f9abc0e0fb466a64fdc736 (patch) | |
tree | 5b1f5cbb74b0accc910985c373b9dc4fb41d7c1f /src/lua/lua_mimepart.c | |
parent | f98bb456ab710bc3fa99cdbe5383f39c00dcd480 (diff) | |
download | rspamd-47e27ce0f8ecf8dff0f9abc0e0fb466a64fdc736.tar.gz rspamd-47e27ce0f8ecf8dff0f9abc0e0fb466a64fdc736.zip |
[Feature] Add mmap support to lua_text
Diffstat (limited to 'src/lua/lua_mimepart.c')
-rw-r--r-- | src/lua/lua_mimepart.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lua/lua_mimepart.c b/src/lua/lua_mimepart.c index a2b6cc49c..e8c7bd9c8 100644 --- a/src/lua/lua_mimepart.c +++ b/src/lua/lua_mimepart.c @@ -357,7 +357,7 @@ lua_textpart_get_content (lua_State * L) rspamd_lua_setclass (L, "rspamd{text}", -1); t->start = part->content->data; t->len = part->content->len; - t->own = FALSE; + t->flags = 0; return 1; } @@ -377,7 +377,7 @@ lua_textpart_get_raw_content (lua_State * L) rspamd_lua_setclass (L, "rspamd{text}", -1); t->start = part->orig->data; t->len = part->orig->len; - t->own = FALSE; + t->flags = 0; return 1; } @@ -397,7 +397,7 @@ lua_textpart_get_content_oneline (lua_State * L) rspamd_lua_setclass (L, "rspamd{text}", -1); t->start = part->stripped_content->data; t->len = part->stripped_content->len; - t->own = FALSE; + t->flags = 0; return 1; } @@ -609,7 +609,7 @@ lua_mimepart_get_content (lua_State * L) rspamd_lua_setclass (L, "rspamd{text}", -1); t->start = part->content->data; t->len = part->content->len; - t->own = FALSE; + t->flags = 0; return 1; } |