summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'bindings')
-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 0f29dd0d..dcb5e576 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 (TRUE));
+ json_object_object_add(jresp, "isvalid", json_object_new_boolean (1));
afb_req_success(request, jresp, NULL);
}