aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_config.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-19 22:28:44 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-19 22:28:44 +0100
commitea2e597208a72f400ec2f71c7c328a20e69d26a7 (patch)
tree77cf0748219359a372825cab95a8b458e8e138bd /src/lua/lua_config.c
parent235d996bf782d7cb68d2d6579c32f211142118d1 (diff)
downloadrspamd-ea2e597208a72f400ec2f71c7c328a20e69d26a7.tar.gz
rspamd-ea2e597208a72f400ec2f71c7c328a20e69d26a7.zip
Adopt new libucl.
Diffstat (limited to 'src/lua/lua_config.c')
-rw-r--r--src/lua/lua_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c
index 7987fa00e..acf3ae3be 100644
--- a/src/lua/lua_config.c
+++ b/src/lua/lua_config.c
@@ -156,7 +156,7 @@ lua_config_get_module_opt (lua_State * L)
{
struct config_file *cfg = lua_check_config (L);
const gchar *mname, *optname;
- ucl_object_t *obj;
+ const ucl_object_t *obj;
if (cfg) {
mname = luaL_checkstring (L, 2);
@@ -192,7 +192,7 @@ lua_config_get_all_opt (lua_State * L)
{
struct config_file *cfg = lua_check_config (L);
const gchar *mname;
- ucl_object_t *obj;
+ const ucl_object_t *obj;
if (cfg) {
mname = luaL_checkstring (L, 2);