aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_post.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_post.c')
-rw-r--r--src/testcurl/test_post.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/testcurl/test_post.c b/src/testcurl/test_post.c
index 90b8f48a..e36391fd 100644
--- a/src/testcurl/test_post.c
+++ b/src/testcurl/test_post.c
@@ -610,8 +610,7 @@ ahc_cancel (void *cls,
610 { 610 {
611 *req_cls = "wibble"; 611 *req_cls = "wibble";
612 /* We don't want the body. Send a 500. */ 612 /* We don't want the body. Send a 500. */
613 response = MHD_create_response_from_buffer (0, NULL, 613 response = MHD_create_response_empty (MHD_RF_NONE);
614 MHD_RESPMEM_PERSISTENT);
615 ret = MHD_queue_response (connection, 500, response); 614 ret = MHD_queue_response (connection, 500, response);
616 if (ret != MHD_YES) 615 if (ret != MHD_YES)
617 fprintf (stderr, "Failed to queue response\n"); 616 fprintf (stderr, "Failed to queue response\n");