aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-10-27 22:02:20 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-10-27 22:02:20 +0000
commitebaf611123e405af3fcf1f59aa542198bc5c95b3 (patch)
tree86f0134fcd3332b462bd1eabb66b13766078745a /src/lua/lua_common.h
parent2206c2f9d17976cb3723b26240a02488ccbee88a (diff)
downloadrspamd-ebaf611123e405af3fcf1f59aa542198bc5c95b3.tar.gz
rspamd-ebaf611123e405af3fcf1f59aa542198bc5c95b3.zip
Avoid endless recursion in export ucl to lua.
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index c878a50f3..e2e2f032a 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -107,7 +107,7 @@ void free_lua_locked (struct lua_locked_state *st);
* @param L lua state
* @param obj object to push
*/
-gint lua_rcl_obj_push (lua_State *L, ucl_object_t *obj);
+gint lua_rcl_obj_push (lua_State *L, ucl_object_t *obj, gboolean allow_array);
/**
* Extract rcl object from lua object