From b322614eb212e8b35e38faf70e804a33b091bbf4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 17 Jan 2020 23:01:17 +0100 Subject: doxygen --- src/curl/curl.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/curl/curl.c') 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; } -- cgit v1.2.3