aboutsummaryrefslogtreecommitdiff
path: root/src/examples/fileserver_example_external_select.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/fileserver_example_external_select.c')
-rw-r--r--src/examples/fileserver_example_external_select.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/fileserver_example_external_select.c b/src/examples/fileserver_example_external_select.c
index a4dfcc1c..a7ab824a 100644
--- a/src/examples/fileserver_example_external_select.c
+++ b/src/examples/fileserver_example_external_select.c
@@ -76,9 +76,9 @@ ahc_echo (void *cls,
76 file = NULL; 76 file = NULL;
77 if (file == NULL) 77 if (file == NULL)
78 { 78 {
79 response = MHD_create_response_from_data (strlen (PAGE), 79 response = MHD_create_response_from_buffer (strlen (PAGE),
80 (void *) PAGE, 80 (void *) PAGE,
81 MHD_NO, MHD_NO); 81 MHD_RESPMEM_PERSISTENT);
82 ret = MHD_queue_response (connection, MHD_HTTP_NOT_FOUND, response); 82 ret = MHD_queue_response (connection, MHD_HTTP_NOT_FOUND, response);
83 MHD_destroy_response (response); 83 MHD_destroy_response (response);
84 } 84 }