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/rest/gnunet-rest-server.c | |
parent | c631834fae2abb517c70d23c856c68114e79f96d (diff) | |
download | gnunet-e194dcd5e30bb6f4a26292161543e4058e5b84d3.tar.gz gnunet-e194dcd5e30bb6f4a26292161543e4058e5b84d3.zip |
adapt code to MHD API change
Diffstat (limited to 'src/rest/gnunet-rest-server.c')
-rw-r--r-- | src/rest/gnunet-rest-server.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, |