aboutsummaryrefslogtreecommitdiff
path: root/src/testzzuf/daemontest_post.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testzzuf/daemontest_post.c')
-rw-r--r--src/testzzuf/daemontest_post.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testzzuf/daemontest_post.c b/src/testzzuf/daemontest_post.c
index 6323a5eb..66077b4f 100644
--- a/src/testzzuf/daemontest_post.c
+++ b/src/testzzuf/daemontest_post.c
@@ -115,9 +115,9 @@ ahc_echo (void *cls,
115 MHD_post_process (pp, upload_data, *upload_data_size); 115 MHD_post_process (pp, upload_data, *upload_data_size);
116 if ((eok == 3) && (0 == *upload_data_size)) 116 if ((eok == 3) && (0 == *upload_data_size))
117 { 117 {
118 response = MHD_create_response_from_data (strlen (url), 118 response = MHD_create_response_from_buffer (strlen (url),
119 (void *) url, 119 (void *) url,
120 MHD_NO, MHD_YES); 120 MHD_RESPMEM_MUST_COPY);
121 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 121 ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
122 MHD_destroy_response (response); 122 MHD_destroy_response (response);
123 MHD_destroy_post_processor (pp); 123 MHD_destroy_post_processor (pp);