diff options
Diffstat (limited to 'src/curl/curl.c')
-rw-r--r-- | src/curl/curl.c | 10 |
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 | */ |
433 | static void * | 433 | void * |
434 | download_get_result (struct GNUNET_CURL_DownloadBuffer *db, | 434 | GNUNET_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 | |||
622 | GNUNET_CURL_perform (struct GNUNET_CURL_Context *ctx) | 622 | GNUNET_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 | ||