diff options
Diffstat (limited to 'src/testcurl/https/test_https_session_info.c')
-rw-r--r-- | src/testcurl/https/test_https_session_info.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/testcurl/https/test_https_session_info.c b/src/testcurl/https/test_https_session_info.c index e428e278..b0ccb576 100644 --- a/src/testcurl/https/test_https_session_info.c +++ b/src/testcurl/https/test_https_session_info.c | |||
@@ -84,9 +84,8 @@ query_session_ahc (void *cls, struct MHD_Connection *connection, | |||
84 | } | 84 | } |
85 | } | 85 | } |
86 | 86 | ||
87 | response = MHD_create_response_from_buffer (strlen (EMPTY_PAGE), | 87 | response = MHD_create_response_from_buffer_static (strlen (EMPTY_PAGE), |
88 | (void *) EMPTY_PAGE, | 88 | EMPTY_PAGE); |
89 | MHD_RESPMEM_PERSISTENT); | ||
90 | ret = MHD_queue_response (connection, MHD_HTTP_OK, response); | 89 | ret = MHD_queue_response (connection, MHD_HTTP_OK, response); |
91 | MHD_destroy_response (response); | 90 | MHD_destroy_response (response); |
92 | return ret; | 91 | return ret; |