diff options
Diffstat (limited to '4a-hal/4a-hal-manager/4a-hal-manager-cb.c')
-rw-r--r-- | 4a-hal/4a-hal-manager/4a-hal-manager-cb.c | 8 |
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 +} |