aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-01 13:07:55 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-14 14:04:51 +0200
commit9128c27958d1475fd13ed625f5f5c0510e8e68bb (patch)
treebece804b4e36d2504602c6a4797d2b873fcc08fa
parent31768957cd3e7ce3152db910b487ff73b73fffc4 (diff)
AFBClient: TRACE() onReply too!
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r--AFBClient.cpp9
1 files 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;
};