aboutsummaryrefslogtreecommitdiffstats
path: root/4a-hal/4a-hal-manager
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-06-29 12:03:00 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:55:26 +0200
commit471a694d232b65faa4a757885c4ad55e5f000486 (patch)
tree027408a4737b1dcef201681b54d99d45652e1894 /4a-hal/4a-hal-manager
parent6a7f7237ddd6afecddeb885868c81f1779cea137 (diff)
Update version of app-controller submodule.
Changes of app-controller: (0f3063b - Romain Forlot) Be able to dispatch required api at the wanted time (1ff524b - Romain Forlot) Change LUA package path at LUA interpreter load (738ae54 - Romain Forlot) Don't load two times a plugin even for LUA (c04f029 - Sebastien Douheret) Fixed hidden bound variable (apiHandle) (cfe3919 - Sebastien Douheret) Fixed null value when push Lua arguments (69c0585 - José Bollo) Adjust to compile with incoming bindings v3 (d7e260c - José Bollo) Remove declaration to not existing functions (8ac6625 - Romain Forlot) Add 2 lua utilities function (d3504bb - Jonathan Aillet) Update README.md for new metadata keys. Change-Id: Iee42482b7a6834977497c27fe634cee9a5f96e0c Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to '4a-hal/4a-hal-manager')
-rw-r--r--4a-hal/4a-hal-manager/4a-hal-manager-cb.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
index d4d1495..2b4fd67 100644
--- a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
+++ b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
@@ -48,11 +48,7 @@ void HalMgrPing(AFB_ReqT request)
count++;
- if(request->dynapi)
- AFB_ReqNotice(request, "%s (%s): ping count = %d", request->api, request->dynapi->apiname, count);
- else
- AFB_ReqNotice(request, "%s: ping count = %d", request->api, count);
-
+ AFB_ReqNotice(request, "%s: ping count = %d", request->api, count);
AFB_ReqSuccess(request, json_object_new_int(count), NULL);
return;
@@ -279,4 +275,4 @@ void HalMgrUnsubscribeEvent(AFB_ReqT request)
AFB_ReqWarning(request, "%s not implemented yet", __func__);
AFB_ReqSuccess(request, json_object_new_boolean(0), NULL);
-} \ No newline at end of file
+}