diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-03-20 11:40:26 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-03-20 11:41:05 +0100 |
commit | e194dcd5e30bb6f4a26292161543e4058e5b84d3 (patch) | |
tree | 9a126f4d4a2c0f9f9513a7c44e19989788bc6ec9 /src | |
parent | c631834fae2abb517c70d23c856c68114e79f96d (diff) | |
download | gnunet-e194dcd5e30bb6f4a26292161543e4058e5b84d3.tar.gz gnunet-e194dcd5e30bb6f4a26292161543e4058e5b84d3.zip |
adapt code to MHD API change
Diffstat (limited to 'src')
-rw-r--r-- | src/gns/gnunet-gns-proxy.c | 2 | ||||
-rw-r--r-- | 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, | |||
2191 | } | 2191 | } |
2192 | MHD_get_connection_values (con, | 2192 | MHD_get_connection_values (con, |
2193 | MHD_HEADER_KIND, | 2193 | MHD_HEADER_KIND, |
2194 | &con_val_iter, | 2194 | (MHD_KeyValueIterator) &con_val_iter, |
2195 | s5r); | 2195 | s5r); |
2196 | curl_easy_setopt (s5r->curl, | 2196 | curl_easy_setopt (s5r->curl, |
2197 | CURLOPT_HTTPHEADER, | 2197 | 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, | |||
416 | con_handle->data_handle = rest_conndata_handle; | 416 | con_handle->data_handle = rest_conndata_handle; |
417 | MHD_get_connection_values (con, | 417 | MHD_get_connection_values (con, |
418 | MHD_GET_ARGUMENT_KIND, | 418 | MHD_GET_ARGUMENT_KIND, |
419 | &url_iterator, | 419 | (MHD_KeyValueIterator) &url_iterator, |
420 | rest_conndata_handle); | 420 | rest_conndata_handle); |
421 | MHD_get_connection_values (con, | 421 | MHD_get_connection_values (con, |
422 | MHD_HEADER_KIND, | 422 | MHD_HEADER_KIND, |
423 | &header_iterator, | 423 | (MHD_KeyValueIterator) &header_iterator, |
424 | rest_conndata_handle); | 424 | rest_conndata_handle); |
425 | con_handle->pp = MHD_create_post_processor(con, | 425 | con_handle->pp = MHD_create_post_processor(con, |
426 | 65536, | 426 | 65536, |