summaryrefslogtreecommitdiff
path: root/src/curl
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-17 23:01:17 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-17 23:01:17 +0100
commitb322614eb212e8b35e38faf70e804a33b091bbf4 (patch)
tree3f89e85174a4ea15224846f60050bbe82cf4019e /src/curl
parentcd1a784f3413543b83f368344d0d660c29aecda3 (diff)
downloadexchange-b322614eb212e8b35e38faf70e804a33b091bbf4.tar.gz
exchange-b322614eb212e8b35e38faf70e804a33b091bbf4.tar.bz2
exchange-b322614eb212e8b35e38faf70e804a33b091bbf4.zip
doxygen
Diffstat (limited to 'src/curl')
-rw-r--r--src/curl/curl.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/curl/curl.c b/src/curl/curl.c
index b60fb2ce..dd119490 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;
}