diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-11-11 17:57:56 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-11-11 17:57:56 +0100 |
commit | 4d897e224887dfea2b6f3a90dc582532c6601812 (patch) | |
tree | 4ac9d6658f272c0a9a64fe3832a531940f585cc3 | |
parent | eb465667b7909810dea13ffa2006a38782205317 (diff) |
Handle callback of queried data
-rw-r--r-- | agl-identity-service/src/agl-identity-binding.c | 2 |
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); } } |