diff options
Diffstat (limited to 'doc/examples/hellobrowser.c')
-rw-r--r-- | doc/examples/hellobrowser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/hellobrowser.c b/doc/examples/hellobrowser.c index 0c13c24d..b14ea6d8 100644 --- a/doc/examples/hellobrowser.c +++ b/doc/examples/hellobrowser.c | |||
@@ -18,7 +18,7 @@ static enum MHD_Result | |||
18 | answer_to_connection (void *cls, struct MHD_Connection *connection, | 18 | answer_to_connection (void *cls, struct MHD_Connection *connection, |
19 | const char *url, const char *method, | 19 | const char *url, const char *method, |
20 | const char *version, const char *upload_data, | 20 | const char *version, const char *upload_data, |
21 | size_t *upload_data_size, void **con_cls) | 21 | size_t *upload_data_size, void **req_cls) |
22 | { | 22 | { |
23 | const char *page = "<html><body>Hello, browser!</body></html>"; | 23 | const char *page = "<html><body>Hello, browser!</body></html>"; |
24 | struct MHD_Response *response; | 24 | struct MHD_Response *response; |
@@ -29,7 +29,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection, | |||
29 | (void) version; /* Unused. Silent compiler warning. */ | 29 | (void) version; /* Unused. Silent compiler warning. */ |
30 | (void) upload_data; /* Unused. Silent compiler warning. */ | 30 | (void) upload_data; /* Unused. Silent compiler warning. */ |
31 | (void) upload_data_size; /* Unused. Silent compiler warning. */ | 31 | (void) upload_data_size; /* Unused. Silent compiler warning. */ |
32 | (void) con_cls; /* Unused. Silent compiler warning. */ | 32 | (void) req_cls; /* Unused. Silent compiler warning. */ |
33 | 33 | ||
34 | response = | 34 | response = |
35 | MHD_create_response_from_buffer (strlen (page), (void *) page, | 35 | MHD_create_response_from_buffer (strlen (page), (void *) page, |