From 5f52a397574ecc6f3af9a5a7f81c0963b978b228 Mon Sep 17 00:00:00 2001 From: jobol Date: Thu, 9 Nov 2017 11:24:03 +0100 Subject: Make it compiling Signed-off-by: jobol --- agl-identity-service/src/agl-forgerock.c | 13 ++----------- agl-identity-service/src/agl-identity-binding.c | 3 --- 2 files changed, 2 insertions(+), 14 deletions(-) (limited to 'agl-identity-service/src') diff --git a/agl-identity-service/src/agl-forgerock.c b/agl-identity-service/src/agl-forgerock.c index 13308ea..9306c7a 100644 --- a/agl-identity-service/src/agl-forgerock.c +++ b/agl-identity-service/src/agl-forgerock.c @@ -16,17 +16,8 @@ */ #define _GNU_SOURCE -/* -#include -#include -#include -#include -#include -#include -#include -#include -*/ #include +#include #include @@ -161,7 +152,7 @@ void agl_forgerock_download_request(const char *vin, const char *kind, const cha int rc; char *url; - rc = asprintf(&result, "%s?vin=%s&kind=%s&keytoken=%s", endpoint, vin, kind, key); + rc = asprintf(&url, "%s?vin=%s&kind=%s&keytoken=%s", endpoint, vin, kind, key); if (rc >= 0) aia_get(url, expiration_delay, oidc_name, oidc_name, downloaded, url); else diff --git a/agl-identity-service/src/agl-identity-binding.c b/agl-identity-service/src/agl-identity-binding.c index 06e513c..97e1e37 100644 --- a/agl-identity-service/src/agl-identity-binding.c +++ b/agl-identity-service/src/agl-identity-binding.c @@ -16,10 +16,7 @@ */ #define _GNU_SOURCE -#include -#include #include -#include #include #include #include -- cgit 1.2.3-korg