diff options
Diffstat (limited to 'doc/examples/responseheaders.c')
-rw-r--r-- | doc/examples/responseheaders.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/responseheaders.c b/doc/examples/responseheaders.c index f1cf939c..80eebbe9 100644 --- a/doc/examples/responseheaders.c +++ b/doc/examples/responseheaders.c | |||
@@ -23,7 +23,7 @@ static enum MHD_Result | |||
23 | answer_to_connection (void *cls, struct MHD_Connection *connection, | 23 | answer_to_connection (void *cls, struct MHD_Connection *connection, |
24 | const char *url, const char *method, | 24 | const char *url, const char *method, |
25 | const char *version, const char *upload_data, | 25 | const char *version, const char *upload_data, |
26 | size_t *upload_data_size, void **con_cls) | 26 | size_t *upload_data_size, void **req_cls) |
27 | { | 27 | { |
28 | struct MHD_Response *response; | 28 | struct MHD_Response *response; |
29 | int fd; | 29 | int fd; |
@@ -34,7 +34,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection, | |||
34 | (void) version; /* Unused. Silent compiler warning. */ | 34 | (void) version; /* Unused. Silent compiler warning. */ |
35 | (void) upload_data; /* Unused. Silent compiler warning. */ | 35 | (void) upload_data; /* Unused. Silent compiler warning. */ |
36 | (void) upload_data_size; /* Unused. Silent compiler warning. */ | 36 | (void) upload_data_size; /* Unused. Silent compiler warning. */ |
37 | (void) con_cls; /* Unused. Silent compiler warning. */ | 37 | (void) req_cls; /* Unused. Silent compiler warning. */ |
38 | 38 | ||
39 | if (0 != strcmp (method, "GET")) | 39 | if (0 != strcmp (method, "GET")) |
40 | return MHD_NO; | 40 | return MHD_NO; |