From b6f3b4e2a64aa9a0b2b0626611fdad2fd35686c2 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 16 May 2018 11:43:48 +0200 Subject: Fix wrong error message. Signature was wrong since last modification about controller and lua integration that now transport source informations. Change-Id: I8f98415b55978e6b7221415ad6169e8d2bc1c959 Signed-off-by: Romain Forlot --- ctl-lib/ctl-lua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ctl-lib/ctl-lua.c') diff --git a/ctl-lib/ctl-lua.c b/ctl-lib/ctl-lua.c index f932edf..ae991c6 100644 --- a/ctl-lib/ctl-lua.c +++ b/ctl-lib/ctl-lua.c @@ -494,7 +494,7 @@ static int LuaAfbServiceSync(lua_State* luaState) { // note: argument start at 2 because of AFB: table if (count != 5 || !lua_isstring(luaState, LUA_FIST_ARG + 1) || !lua_isstring(luaState, LUA_FIST_ARG + 2) || !lua_istable(luaState, LUA_FIST_ARG + 3)) { - lua_pushliteral(luaState, "ERROR: syntax AFB:servsync(api, verb, {[Lua Table]})"); + lua_pushliteral(luaState, "ERROR: syntax AFB:servsync(source, api, verb, {[Lua Table]})"); lua_error(luaState); return 1; } @@ -1253,7 +1253,7 @@ static const luaL_Reg afbFunction[] = { int LuaConfigExec(AFB_ApiT apiHandle) { int err; - + // Load LUA utils functions. err = LuaDoString(lua_utils, NULL); if (err) { -- cgit 1.2.3-korg