aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/daemontest_post_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/daemontest_post_loop.c')
-rw-r--r--src/testcurl/daemontest_post_loop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testcurl/daemontest_post_loop.c b/src/testcurl/daemontest_post_loop.c
index b1e1ab3f..f241744a 100644
--- a/src/testcurl/daemontest_post_loop.c
+++ b/src/testcurl/daemontest_post_loop.c
@@ -83,7 +83,8 @@ ahc_echo (void *cls,
83 { 83 {
84 if (*mptr != &marker) 84 if (*mptr != &marker)
85 abort (); 85 abort ();
86 response = MHD_create_response_from_data (2, "OK", MHD_NO, MHD_NO); 86 response = MHD_create_response_from_buffer (2, "OK",
87 MHD_RESPMEM_PERSISTENT);
87 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 88 ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
88 MHD_destroy_response (response); 89 MHD_destroy_response (response);
89 *mptr = NULL; 90 *mptr = NULL;