diff options
Diffstat (limited to 'src/testcurl/test_post_loop.c')
-rw-r--r-- | src/testcurl/test_post_loop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcurl/test_post_loop.c b/src/testcurl/test_post_loop.c index 37cd121b..ec42ffce 100644 --- a/src/testcurl/test_post_loop.c +++ b/src/testcurl/test_post_loop.c | |||
@@ -103,8 +103,8 @@ ahc_echo (void *cls, | |||
103 | { | 103 | { |
104 | if (*req_cls != &marker) | 104 | if (*req_cls != &marker) |
105 | abort (); | 105 | abort (); |
106 | response = MHD_create_response_from_buffer (2, "OK", | 106 | response = MHD_create_response_from_buffer_static (2, |
107 | MHD_RESPMEM_PERSISTENT); | 107 | "OK"); |
108 | ret = MHD_queue_response (connection, MHD_HTTP_OK, response); | 108 | ret = MHD_queue_response (connection, MHD_HTTP_OK, response); |
109 | MHD_destroy_response (response); | 109 | MHD_destroy_response (response); |
110 | *req_cls = NULL; | 110 | *req_cls = NULL; |