aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-11-11 17:57:56 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-11 17:57:56 +0100
commit4d897e224887dfea2b6f3a90dc582532c6601812 (patch)
tree4ac9d6658f272c0a9a64fe3832a531940f585cc3
parenteb465667b7909810dea13ffa2006a38782205317 (diff)
Handle callback of queried data
-rw-r--r--agl-identity-service/src/agl-identity-binding.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/agl-identity-service/src/agl-identity-binding.c b/agl-identity-service/src/agl-identity-binding.c
index e850c12..1f9cf20 100644
--- a/agl-identity-service/src/agl-identity-binding.c
+++ b/agl-identity-service/src/agl-identity-binding.c
@@ -154,7 +154,9 @@ static void do_logout()
static void on_forgerock_data(struct json_object *data, const char *error)
{
if (error) {
+ ERROR("Can't get data: %s", error);
} else {
+ do_login(data);
}
}