aboutsummaryrefslogtreecommitdiff
path: root/src/curl/curl.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-19 14:42:41 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-19 14:42:41 +0200
commita31cd73472ac1b4c899a6e1d7e53851c20677f7d (patch)
tree55bbcee205a85909a96166ac5e45b1a95ba4c77d /src/curl/curl.c
parent3267f8b90815984e4cf4acd269fe832f4dbd975e (diff)
downloadgnunet-a31cd73472ac1b4c899a6e1d7e53851c20677f7d.tar.gz
gnunet-a31cd73472ac1b4c899a6e1d7e53851c20677f7d.zip
fix ftbfs:
Diffstat (limited to 'src/curl/curl.c')
-rw-r--r--src/curl/curl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/curl/curl.c b/src/curl/curl.c
index a45d0a154..38a1f5fcd 100644
--- a/src/curl/curl.c
+++ b/src/curl/curl.c
@@ -430,10 +430,10 @@ GNUNET_CURL_job_cancel (struct GNUNET_CURL_Job *job)
430 * the JSON we received was malformed). 430 * the JSON we received was malformed).
431 * @return NULL if downloading a JSON reply failed. 431 * @return NULL if downloading a JSON reply failed.
432 */ 432 */
433static void * 433void *
434download_get_result (struct GNUNET_CURL_DownloadBuffer *db, 434GNUNET_CURL_download_get_result_ (struct GNUNET_CURL_DownloadBuffer *db,
435 CURL *eh, 435 CURL *eh,
436 long *response_code) 436 long *response_code)
437{ 437{
438 json_t *json; 438 json_t *json;
439 json_error_t error; 439 json_error_t error;
@@ -622,7 +622,7 @@ void
622GNUNET_CURL_perform (struct GNUNET_CURL_Context *ctx) 622GNUNET_CURL_perform (struct GNUNET_CURL_Context *ctx)
623{ 623{
624 GNUNET_CURL_perform2 (ctx, 624 GNUNET_CURL_perform2 (ctx,
625 &download_get_result, 625 &GNUNET_CURL_download_get_result_,
626 (GNUNET_CURL_ResponseCleaner) &json_decref); 626 (GNUNET_CURL_ResponseCleaner) &json_decref);
627} 627}
628 628