aboutsummaryrefslogtreecommitdiff
path: root/src/examples/timeout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/timeout.c')
-rw-r--r--src/examples/timeout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/timeout.c b/src/examples/timeout.c
index b31ff21f..b52f508f 100644
--- a/src/examples/timeout.c
+++ b/src/examples/timeout.c
@@ -37,7 +37,7 @@ answer_to_connection (void *cls,
37 const char *version, 37 const char *version,
38 const char *upload_data, 38 const char *upload_data,
39 size_t *upload_data_size, 39 size_t *upload_data_size,
40 void **con_cls) 40 void **req_cls)
41{ 41{
42 const char *page = "<html><body>Hello timeout!</body></html>"; 42 const char *page = "<html><body>Hello timeout!</body></html>";
43 struct MHD_Response *response; 43 struct MHD_Response *response;
@@ -48,7 +48,7 @@ answer_to_connection (void *cls,
48 (void) method; /* Unused. Silent compiler warning. */ 48 (void) method; /* Unused. Silent compiler warning. */
49 (void) upload_data; /* Unused. Silent compiler warning. */ 49 (void) upload_data; /* Unused. Silent compiler warning. */
50 (void) upload_data_size; /* Unused. Silent compiler warning. */ 50 (void) upload_data_size; /* Unused. Silent compiler warning. */
51 (void) con_cls; /* Unused. Silent compiler warning. */ 51 (void) req_cls; /* Unused. Silent compiler warning. */
52 52
53 response = MHD_create_response_from_buffer (strlen (page), 53 response = MHD_create_response_from_buffer (strlen (page),
54 (void *) page, 54 (void *) page,