diff options
Diffstat (limited to 'src/testcurl/https/test_https_get.c')
-rw-r--r-- | src/testcurl/https/test_https_get.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/testcurl/https/test_https_get.c b/src/testcurl/https/test_https_get.c index 968a0b96..184cc48e 100644 --- a/src/testcurl/https/test_https_get.c +++ b/src/testcurl/https/test_https_get.c | |||
@@ -120,9 +120,7 @@ ahc_empty (void *cls, | |||
120 | return MHD_YES; | 120 | return MHD_YES; |
121 | } | 121 | } |
122 | *req_cls = NULL; | 122 | *req_cls = NULL; |
123 | response = MHD_create_response_from_buffer (0, | 123 | response = MHD_create_response_empty (MHD_RF_NONE); |
124 | NULL, | ||
125 | MHD_RESPMEM_PERSISTENT); | ||
126 | ret = MHD_queue_response (connection, | 124 | ret = MHD_queue_response (connection, |
127 | MHD_HTTP_OK, | 125 | MHD_HTTP_OK, |
128 | response); | 126 | response); |