From 9128c27958d1475fd13ed625f5f5c0510e8e68bb Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Fri, 1 Sep 2017 13:07:55 +0200 Subject: [PATCH] AFBClient: TRACE() onReply too! Signed-off-by: Marcus Fritzsch --- AFBClient.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/AFBClient.cpp b/AFBClient.cpp index 9bcb880..6fcb207 100644 --- a/AFBClient.cpp +++ b/AFBClient.cpp @@ -88,8 +88,8 @@ static struct afb_wsj1_itf itf = { }; void dispatch_internal(AFBClient *c, uint64_t timeout) { - TRACE(); - c->dispatch(timeout); + TRACE(); + c->dispatch(timeout); } } // namespace @@ -253,7 +253,10 @@ int AFBClient::call(const char *verb, json_object *object, call_rc = ok ? 0 : -EINVAL; // We know it failed, but there may be an explanation in the // json object. - onReply(ok, j); + { + TRACEN(onReply); + onReply(ok, j); + } returned = true; }; -- 2.16.6