diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-06-05 22:40:09 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-06-07 07:23:23 +0000 |
commit | 6838dff13293746e5855c6e3d1031aea150a6d76 (patch) | |
tree | bf5c7d232bb4ea4f2517b817ac5c3ecd62638867 /ctl-lib/ctl-lua.c | |
parent | 5b079d4c23228dc98998c5603e6a9aac07b04164 (diff) |
Fixed spelling of AFB_ReqSuccess
Also change event message from notice to debug level.
Change-Id: I8dc891343ee7f744ea0e3c07455806eaf34c1d7e
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-lua.c')
-rw-r--r-- | ctl-lib/ctl-lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |