From f207ab581021fb4f4b9996b9feb4b67ea51933ed Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Tue, 5 Jun 2018 22:40:09 +0200 Subject: Fixed spelling of AFB_ReqSuccess Also change event message from notice to debug level. Change-Id: I8dc891343ee7f744ea0e3c07455806eaf34c1d7e Signed-off-by: Sebastien Douheret --- 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 fe82317..4342464 100644 --- a/ctl-lib/ctl-lua.c +++ b/ctl-lib/ctl-lua.c @@ -31,7 +31,7 @@ #include "ctl-config.h" -#define LUA_FIST_ARG 2 // when using luaL_newlib calllback receive libtable as 1st arg +#define LUA_FIST_ARG 2 // when using luaL_newlib callback receive libtable as 1st arg #define LUA_MSG_MAX_LENGTH 2048 #define JSON_ERROR (json_object*)-1 @@ -393,7 +393,7 @@ static int LuaAfbSuccess(lua_State* luaState) { json_object *responseJ = LuaPopArgs(source, luaState, LUA_FIST_ARG + 1); if (responseJ == JSON_ERROR) return 1; - AFB_ReqSucess(source->request, responseJ, NULL); + AFB_ReqSuccess(source->request, responseJ, NULL); json_object_put(responseJ); return 0; -- cgit 1.2.3-korg