diff options
Diffstat (limited to 'src/curl/curl.c')
-rw-r--r-- | src/curl/curl.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/curl/curl.c b/src/curl/curl.c index b60fb2ce3..dd1194906 100644 --- a/src/curl/curl.c +++ b/src/curl/curl.c @@ -32,13 +32,13 @@ /** * Add the @a body as POST data to the easy handle in @a ctx. * - * @param ctx[in,out] a request context (updated) + * @param[in,out] ctx a request context (updated) * @param eh easy handle to use * @param body JSON body to add to @e ctx * @return #GNUNET_OK on success #GNUNET_SYSERR on failure */ int -TALER_curl_easy_post (struct TEAH_PostContext *ctx, +TALER_curl_easy_post (struct TALER_CURL_PostContext *ctx, CURL *eh, const json_t *body) { @@ -104,12 +104,13 @@ TALER_curl_easy_post (struct TEAH_PostContext *ctx, /** * Free the data in @a ctx. * - * @param ctx[in] a request context (updated) + * @param[in] ctx a request context (updated) */ void -TALER_curl_easy_post_finished (struct TEAH_PostContext *ctx) +TALER_curl_easy_post_finished (struct TALER_CURL_PostContext *ctx) { curl_slist_free_all (ctx->headers); ctx->headers = NULL; GNUNET_free_non_null (ctx->json_enc); + ctx->json_enc = NULL; } |