AFBClient: TRACE() onReply too!
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Fri, 1 Sep 2017 11:07:55 +0000 (13:07 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Thu, 14 Sep 2017 12:04:51 +0000 (14:04 +0200)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
AFBClient.cpp

index 9bcb880..6fcb207 100644 (file)
@@ -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;
         };