aboutsummaryrefslogtreecommitdiff
path: root/src/testzzuf/daemontest_postform.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testzzuf/daemontest_postform.c')
-rw-r--r--src/testzzuf/daemontest_postform.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testzzuf/daemontest_postform.c b/src/testzzuf/daemontest_postform.c
index 817b0bc7..873c7fef 100644
--- a/src/testzzuf/daemontest_postform.c
+++ b/src/testzzuf/daemontest_postform.c
@@ -120,9 +120,9 @@ ahc_echo (void *cls,
120 MHD_post_process (pp, upload_data, *upload_data_size); 120 MHD_post_process (pp, upload_data, *upload_data_size);
121 if ((eok == 3) && (0 == *upload_data_size)) 121 if ((eok == 3) && (0 == *upload_data_size))
122 { 122 {
123 response = MHD_create_response_from_data (strlen (url), 123 response = MHD_create_response_from_buffer (strlen (url),
124 (void *) url, 124 (void *) url,
125 MHD_NO, MHD_YES); 125 MHD_RESPMEM_MUST_COPY);
126 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 126 ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
127 MHD_destroy_response (response); 127 MHD_destroy_response (response);
128 MHD_destroy_post_processor (pp); 128 MHD_destroy_post_processor (pp);