diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-19 15:59:09 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-19 15:59:09 +0000 |
commit | 016d429d8d45f8043047cc66069ca793e0802da0 (patch) | |
tree | 412fa3a8da06ce3764da5a5696da65335d30aeab /contrib/libucl | |
parent | 456c2f66f3e06243835d9e62b8c289265e947e61 (diff) | |
download | rspamd-016d429d8d45f8043047cc66069ca793e0802da0.tar.gz rspamd-016d429d8d45f8043047cc66069ca793e0802da0.zip |
[Minor] Do not set file vars by default in lua ucl
Diffstat (limited to 'contrib/libucl')
-rw-r--r-- | contrib/libucl/lua_ucl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/libucl/lua_ucl.c b/contrib/libucl/lua_ucl.c index 965dcc9c1..62b0652f5 100644 --- a/contrib/libucl/lua_ucl.c +++ b/contrib/libucl/lua_ucl.c @@ -29,7 +29,6 @@ #include "ucl_internal.h" #include "lua_ucl.h" #include <strings.h> -#include <zconf.h> /*** * @module ucl @@ -484,7 +483,7 @@ static int lua_ucl_parser_init (lua_State *L) { struct ucl_parser *parser, **pparser; - int flags = 0; + int flags = UCL_PARSER_NO_FILEVARS; if (lua_gettop (L) >= 1) { flags = lua_tonumber (L, 1); |