X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=bindings%2Fsamples%2FAuthLogin.c;h=851faecd72a758cd6d6114c06c3bf1d2b88a1f73;hb=043c27c3a8fd323d59e41288b6fd24f0e9bfa9a3;hp=0f29dd0dcec0f161b0b5e6ad8bb6029990342af0;hpb=4521c1e7ae5371ab9d639adc617d17fb4e8ded0c;p=src%2Fapp-framework-binder.git diff --git a/bindings/samples/AuthLogin.c b/bindings/samples/AuthLogin.c index 0f29dd0d..851faecd 100644 --- a/bindings/samples/AuthLogin.c +++ b/bindings/samples/AuthLogin.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015-2018 "IoT.bzh" + * Copyright (C) 2015-2019 "IoT.bzh" * Author "Fulup Ar Foll" * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -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); }