summaryrefslogtreecommitdiffstats
path: root/bindings/samples
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-01-05 06:53:26 +0000
committerJosé Bollo <jose.bollo@iot.bzh>2019-01-05 06:53:26 +0000
commita05b577b8159ccc9f14a652350f47e02ac23d841 (patch)
tree2de3d8bd7f6d5aaffd9d484df5fad423c9f41a6a /bindings/samples
parent821ed8ff1beabd10cf9b9046e41fb7e954ff93c0 (diff)
Revert "jobs: Fix a lock of call sync"
This reverts commit 821ed8ff1beabd10cf9b9046e41fb7e954ff93c0. Change-Id: I94c738c20a2526b7f6950a806c6ae1e65467fbf0
Diffstat (limited to 'bindings/samples')
-rw-r--r--bindings/samples/AuthLogin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/samples/AuthLogin.c b/bindings/samples/AuthLogin.c
index dcb5e576..0f29dd0d 100644
--- a/bindings/samples/AuthLogin.c
+++ b/bindings/samples/AuthLogin.c
@@ -71,7 +71,7 @@ static void clientContextRefresh (afb_req_t request) {
static void clientContextCheck (afb_req_t request) {
json_object *jresp = json_object_new_object();
- json_object_object_add(jresp, "isvalid", json_object_new_boolean (1));
+ json_object_object_add(jresp, "isvalid", json_object_new_boolean (TRUE));
afb_req_success(request, jresp, NULL);
}