diff options
Diffstat (limited to 'src/testcurl/daemontest_large_put.c')
-rw-r--r-- | src/testcurl/daemontest_large_put.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testcurl/daemontest_large_put.c b/src/testcurl/daemontest_large_put.c index 6492a48c..3767f703 100644 --- a/src/testcurl/daemontest_large_put.c +++ b/src/testcurl/daemontest_large_put.c | |||
@@ -122,8 +122,9 @@ ahc_echo (void *cls, | |||
122 | *done = 1; | 122 | *done = 1; |
123 | return MHD_YES; | 123 | return MHD_YES; |
124 | } | 124 | } |
125 | response = MHD_create_response_from_data (strlen (url), | 125 | response = MHD_create_response_from_buffer (strlen (url), |
126 | (void *) url, MHD_NO, MHD_YES); | 126 | (void *) url, |
127 | MHD_RESPMEM_MUST_COPY); | ||
127 | ret = MHD_queue_response (connection, MHD_HTTP_OK, response); | 128 | ret = MHD_queue_response (connection, MHD_HTTP_OK, response); |
128 | MHD_destroy_response (response); | 129 | MHD_destroy_response (response); |
129 | return ret; | 130 | return ret; |