diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-25 12:36:07 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-25 12:36:07 +0100 |
commit | 48a666c5ca646ff12ce68cc763edb82485fa7c6a (patch) | |
tree | 794d567d2c20d666bd1e9483a8d3ee1095ef4cc4 /src/lua/lua_util.c | |
parent | 413e08bb4f8dd7e85e5bc86b15751d1789553fe3 (diff) | |
download | rspamd-48a666c5ca646ff12ce68cc763edb82485fa7c6a.tar.gz rspamd-48a666c5ca646ff12ce68cc763edb82485fa7c6a.zip |
[Rework] Include config structure to all rcl handlers
Diffstat (limited to 'src/lua/lua_util.c')
-rw-r--r-- | src/lua/lua_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index e50e704ee..ccbcec6e6 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -427,7 +427,7 @@ lua_util_config_from_ucl (lua_State *L) cfg->cache = rspamd_symbols_cache_new (cfg); top = rspamd_rcl_config_init (cfg); - if (!rspamd_rcl_parse (top, cfg, cfg->cfg_pool, cfg->rcl_obj, &err)) { + if (!rspamd_rcl_parse (top, cfg, cfg, cfg->cfg_pool, cfg->rcl_obj, &err)) { msg_err_config ("rcl parse error: %s", err->message); ucl_object_unref (obj); lua_pushnil (L); |