aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcoverage/scripts/02-hello.sh5
-rw-r--r--src/afb-trace.c2
2 files changed, 2 insertions, 5 deletions
diff --git a/coverage/scripts/02-hello.sh b/coverage/scripts/02-hello.sh
index 916892f7..579a3f06 100755
--- a/coverage/scripts/02-hello.sh
+++ b/coverage/scripts/02-hello.sh
@@ -44,10 +44,7 @@ hello setctxif "some-text-1"
hello getctx
hello setctx "some-text-2"
hello getctx
-#------------------------
-# TODO bug to be fixed!
-#hello info
-#------------------------
+hello info
hello verbose {"level":2,"message":"hello"}
EOC
diff --git a/src/afb-trace.c b/src/afb-trace.c
index 5f54b174..0e285e14 100644
--- a/src/afb-trace.c
+++ b/src/afb-trace.c
@@ -489,7 +489,7 @@ static void hook_xreq_get_uid(void *closure, const struct afb_hookid *hookid, co
static void hook_xreq_get_client_info(void *closure, const struct afb_hookid *hookid, const struct afb_xreq *xreq, struct json_object *result)
{
- hook_xreq(closure, hookid, xreq, "get_client_info", "{so}",
+ hook_xreq(closure, hookid, xreq, "get_client_info", "{sO}",
"result", result);
}