aboutsummaryrefslogtreecommitdiff
path: root/src/curl
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-05-13 17:31:37 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-05-13 17:31:37 +0200
commit71b73f97b5897f68243e3ee27d0fd424ef025cb0 (patch)
tree6fb642e872514cd8a73b4a7031aa4ad8704d8070 /src/curl
parent50f8dfd7dbe71fb4d71bfe8400a3d0f2a434cc04 (diff)
downloadgnunet-71b73f97b5897f68243e3ee27d0fd424ef025cb0.tar.gz
gnunet-71b73f97b5897f68243e3ee27d0fd424ef025cb0.zip
Comments
Diffstat (limited to 'src/curl')
-rw-r--r--src/curl/curl.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/curl/curl.c b/src/curl/curl.c
index 0a6cde8a9..749094800 100644
--- a/src/curl/curl.c
+++ b/src/curl/curl.c
@@ -267,8 +267,11 @@ download_cb (char *bufptr, size_t size, size_t nitems, void *cls)
267 * "Content-Type: application/json" header if @a add_json is set. 267 * "Content-Type: application/json" header if @a add_json is set.
268 * 268 *
269 * @param ctx context to execute the job in 269 * @param ctx context to execute the job in
270 * @param eh curl easy handle for the request, will 270 * @param eh curl easy handle for the request, will be executed AND
271 * be executed AND cleaned up 271 * cleaned up. NOTE: the handle should _never_ have gotten
272 * any headers list, as that would then be ovverridden by
273 * @a jcc. Therefore, always pass custom headers as the
274 * @a job_headers parameter.
272 * @param job_headers extra headers to add for this request 275 * @param job_headers extra headers to add for this request
273 * @param jcc callback to invoke upon completion 276 * @param jcc callback to invoke upon completion
274 * @param jcc_cls closure for @a jcc 277 * @param jcc_cls closure for @a jcc