summaryrefslogtreecommitdiffstats
path: root/src/curl-wrap.c
diff options
context:
space:
mode:
authorRaquel Medina <raquel.medina@konsulko.com>2019-02-15 17:10:40 +0200
committerraquel medina <raquel.medina@konsulko.com>2019-05-01 23:11:48 +0000
commit509e8df88f8ad8d7e299e6d01077b7014624de3c (patch)
treed196701550c5cc3f29bf0c6134dfe5763d4974f4 /src/curl-wrap.c
parentccaceac74b340e93bc68bce628772270e36df2aa (diff)
binding: identity: fix segfault & update to v3 forgerock binding calls
On user login via nfc, the identity service segfaults on nfc event processing. Fix segfault, update forgerock compilation unit to use binding V3 call methods and review the identity agent baseline to remove unused code / tidy up. Bug-AGL: SPEC-2158 Change-Id: Ic87e630e9d028ba22937468375631b8e908011f8 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> (cherry picked from commit 8f64868f9edd313eaee9a73abc3f79110da5f132)
Diffstat (limited to 'src/curl-wrap.c')
-rw-r--r--src/curl-wrap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/curl-wrap.c b/src/curl-wrap.c
index 9f010fb..626f321 100644
--- a/src/curl-wrap.c
+++ b/src/curl-wrap.c
@@ -69,15 +69,15 @@ int curl_wrap_perform(CURL *curl, char **result, size_t *size)
buffer.size = 0;
buffer.data = NULL;
- /* Perform the request, res will get the return code */
+ /* Perform the request, res will get the return code */
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &buffer);
- /* Perform the request, res will get the return code */
+ /* Perform the request, res will get the return code */
code = curl_easy_perform(curl);
rc = code == CURLE_OK;
- /* Check for no errors */
+ /* Check for no errors */
if (rc) {
/* no error */
if (size)