aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/https/mhds_get_test_select.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-01-04 12:40:03 +0000
committerChristian Grothoff <christian@grothoff.org>2011-01-04 12:40:03 +0000
commit43542a78c6bfc10dc06196c0702b802eb6a45591 (patch)
tree3857b4ec8cd7ce3c8cbba77de74902cdd6b92c10 /src/testcurl/https/mhds_get_test_select.c
parent3af8f4ce646d29cd5942a1e3dda3b7ed03a82af6 (diff)
downloadlibmicrohttpd-43542a78c6bfc10dc06196c0702b802eb6a45591.tar.gz
libmicrohttpd-43542a78c6bfc10dc06196c0702b802eb6a45591.zip
introducing MHD_create_response_from_buffer, deprecating MHD_create_response_from_data
Diffstat (limited to 'src/testcurl/https/mhds_get_test_select.c')
-rw-r--r--src/testcurl/https/mhds_get_test_select.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testcurl/https/mhds_get_test_select.c b/src/testcurl/https/mhds_get_test_select.c
index b31db5cc..1ddab1d3 100644
--- a/src/testcurl/https/mhds_get_test_select.c
+++ b/src/testcurl/https/mhds_get_test_select.c
@@ -61,8 +61,9 @@ ahc_echo (void *cls,
61 return MHD_YES; 61 return MHD_YES;
62 } 62 }
63 *unused = NULL; 63 *unused = NULL;
64 response = MHD_create_response_from_data (strlen (url), 64 response = MHD_create_response_from_buffer (strlen (url),
65 (void *) url, MHD_NO, MHD_YES); 65 (void *) url,
66 MHD_RESPMEM_MUST_COPY);
66 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 67 ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
67 MHD_destroy_response (response); 68 MHD_destroy_response (response);
68 if (ret == MHD_NO) 69 if (ret == MHD_NO)