diff options
Diffstat (limited to 'src/examples/minimal_example_empty_tls.c')
-rw-r--r-- | src/examples/minimal_example_empty_tls.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/examples/minimal_example_empty_tls.c b/src/examples/minimal_example_empty_tls.c index 9c352717..c8c3763f 100644 --- a/src/examples/minimal_example_empty_tls.c +++ b/src/examples/minimal_example_empty_tls.c | |||
@@ -55,9 +55,7 @@ ahc_echo (void *cls, | |||
55 | return MHD_YES; | 55 | return MHD_YES; |
56 | } | 56 | } |
57 | *req_cls = NULL; /* reset when done */ | 57 | *req_cls = NULL; /* reset when done */ |
58 | response = MHD_create_response_from_buffer (0, | 58 | response = MHD_create_response_empty (MHD_RF_NONE); |
59 | NULL, | ||
60 | MHD_RESPMEM_PERSISTENT); | ||
61 | ret = MHD_queue_response (connection, | 59 | ret = MHD_queue_response (connection, |
62 | MHD_HTTP_NO_CONTENT, | 60 | MHD_HTTP_NO_CONTENT, |
63 | response); | 61 | response); |