diff options
author | 2019-04-09 17:53:40 +0200 | |
---|---|---|
committer | 2019-04-23 10:27:27 +0200 | |
commit | 8cd0edb15a1df1a89e769231b35ae8d02ccfd20a (patch) | |
tree | 66c074159766d1f347c9a779a9130141b413b5ad | |
parent | 9fab427304ad25818a26f6dbca67036116ee83ae (diff) |
Fix event receivesandbox/DDTLK/tests
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
-rw-r--r-- | ctl-lib/ctl-lua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctl-lib/ctl-lua.c b/ctl-lib/ctl-lua.c index 04b4ce9..ab36afb 100644 --- a/ctl-lib/ctl-lua.c +++ b/ctl-lib/ctl-lua.c @@ -536,7 +536,7 @@ static int LuaAfbEventPush(lua_State* luaState) { return 1; } - json_object *ctlEventJ = LuaTableToJson(source, luaState, LUA_FIRST_ARG + 2); + json_object *ctlEventJ = LuaPopOneArg(source, luaState, LUA_FIRST_ARG + 2); if (!ctlEventJ) { lua_pushliteral(luaState, "LuaAfbEventPush: Syntax is AFB:signal ([evtHandle], {lua table})"); lua_error(luaState); |