gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: adapt code to MHD API chang


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: adapt code to MHD API change
Date: Wed, 20 Mar 2019 11:41:08 +0100

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

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new e194dcd5e adapt code to MHD API change
e194dcd5e is described below

commit e194dcd5e30bb6f4a26292161543e4058e5b84d3
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Mar 20 11:40:26 2019 +0100

    adapt code to MHD API change
---
 src/gns/gnunet-gns-proxy.c    | 2 +-
 src/rest/gnunet-rest-server.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c
index a6b053e56..bae222499 100644
--- a/src/gns/gnunet-gns-proxy.c
+++ b/src/gns/gnunet-gns-proxy.c
@@ -2191,7 +2191,7 @@ create_response (void *cls,
     }
     MHD_get_connection_values (con,
                                MHD_HEADER_KIND,
-                               &con_val_iter,
+                               (MHD_KeyValueIterator) &con_val_iter,
                                s5r);
     curl_easy_setopt (s5r->curl,
                       CURLOPT_HTTPHEADER,
diff --git a/src/rest/gnunet-rest-server.c b/src/rest/gnunet-rest-server.c
index f9e954912..3cbb750ba 100644
--- a/src/rest/gnunet-rest-server.c
+++ b/src/rest/gnunet-rest-server.c
@@ -416,11 +416,11 @@ create_response (void *cls,
     con_handle->data_handle = rest_conndata_handle;
     MHD_get_connection_values (con,
                                MHD_GET_ARGUMENT_KIND,
-                               &url_iterator,
+                               (MHD_KeyValueIterator) &url_iterator,
                                rest_conndata_handle);
     MHD_get_connection_values (con,
                                MHD_HEADER_KIND,
-                               &header_iterator,
+                               (MHD_KeyValueIterator) &header_iterator,
                                rest_conndata_handle);
     con_handle->pp = MHD_create_post_processor(con,
                                               65536,

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



reply via email to

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