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_html.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_html.c')
-rw-r--r-- | src/lua/lua_html.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_html.c b/src/lua/lua_html.c index bad085450..1e1ab10ae 100644 --- a/src/lua/lua_html.c +++ b/src/lua/lua_html.c @@ -355,7 +355,7 @@ lua_html_push_block (lua_State *L, struct html_block *bl) t = lua_newuserdata (L, sizeof (*t)); t->start = bl->style.start; t->len = bl->style.len; - t->own = FALSE; + t->flags = 0; lua_settable (L, -3); } } @@ -562,7 +562,7 @@ lua_html_tag_get_content (lua_State *L) rspamd_lua_setclass (L, "rspamd{text}", -1); t->start = tag->content; t->len = tag->content_length; - t->own = FALSE; + t->flags = 0; } else { lua_pushnil (L); |