gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: curl: append the actual hea


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: curl: append the actual headers
Date: Sun, 12 May 2019 18:47:39 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new bfde3f82e curl: append the actual headers
bfde3f82e is described below

commit bfde3f82e7ff4339bdaaa5bf4ad522321a29deb2
Author: Florian Dold <address@hidden>
AuthorDate: Sun May 12 18:27:50 2019 +0200

    curl: append the actual headers
---
 src/curl/curl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/curl/curl.c b/src/curl/curl.c
index 871401c60..bc01dbc6c 100644
--- a/src/curl/curl.c
+++ b/src/curl/curl.c
@@ -303,7 +303,7 @@ GNUNET_CURL_job_add (struct GNUNET_CURL_Context *ctx,
   {
     GNUNET_assert (
       NULL != (all_headers =
-                 curl_slist_append (all_headers, "Content-Type: 
application/json")));
+                 curl_slist_append (all_headers, curr->data)));
   }
 
   if (NULL != ctx->async_scope_id_header)

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]