AFBClient: TRACE() onReply too!
[staging/windowmanager.git] / 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;
         };