aboutsummaryrefslogtreecommitdiff
path: root/src/examples/demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/demo.c')
-rw-r--r--src/examples/demo.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/examples/demo.c b/src/examples/demo.c
index 1c24a57e..9aef573a 100644
--- a/src/examples/demo.c
+++ b/src/examples/demo.c
@@ -383,9 +383,10 @@ update_directory (void)
383 "%s", 383 "%s",
384 INDEX_PAGE_FOOTER); 384 INDEX_PAGE_FOOTER);
385 initial_allocation = rdc.buf_len; /* remember for next time */ 385 initial_allocation = rdc.buf_len; /* remember for next time */
386 response = MHD_create_response_from_buffer (rdc.off, 386 response =
387 rdc.buf, 387 MHD_create_response_from_buffer_with_free_callback (rdc.off,
388 MHD_RESPMEM_MUST_FREE); 388 rdc.buf,
389 &free);
389 mark_as_html (response); 390 mark_as_html (response);
390#if FORCE_CLOSE 391#if FORCE_CLOSE
391 (void) MHD_add_response_header (response, 392 (void) MHD_add_response_header (response,