diff options
Diffstat (limited to 'src/testcurl/https/mhds_get_test_select.c')
-rw-r--r-- | src/testcurl/https/mhds_get_test_select.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testcurl/https/mhds_get_test_select.c b/src/testcurl/https/mhds_get_test_select.c index b31db5cc..1ddab1d3 100644 --- a/src/testcurl/https/mhds_get_test_select.c +++ b/src/testcurl/https/mhds_get_test_select.c | |||
@@ -61,8 +61,9 @@ ahc_echo (void *cls, | |||
61 | return MHD_YES; | 61 | return MHD_YES; |
62 | } | 62 | } |
63 | *unused = NULL; | 63 | *unused = NULL; |
64 | response = MHD_create_response_from_data (strlen (url), | 64 | response = MHD_create_response_from_buffer (strlen (url), |
65 | (void *) url, MHD_NO, MHD_YES); | 65 | (void *) url, |
66 | MHD_RESPMEM_MUST_COPY); | ||
66 | ret = MHD_queue_response (connection, MHD_HTTP_OK, response); | 67 | ret = MHD_queue_response (connection, MHD_HTTP_OK, response); |
67 | MHD_destroy_response (response); | 68 | MHD_destroy_response (response); |
68 | if (ret == MHD_NO) | 69 | if (ret == MHD_NO) |