aboutsummaryrefslogtreecommitdiff
path: root/src/examples/https_fileserver_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/https_fileserver_example.c')
-rw-r--r--src/examples/https_fileserver_example.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/examples/https_fileserver_example.c b/src/examples/https_fileserver_example.c
index b22b37d8..453ca2ff 100644
--- a/src/examples/https_fileserver_example.c
+++ b/src/examples/https_fileserver_example.c
@@ -129,6 +129,10 @@ http_ahc (void *cls,
129 FILE *file; 129 FILE *file;
130 int fd; 130 int fd;
131 struct stat buf; 131 struct stat buf;
132 (void)cls; /* Unused. Silent compiler warning. */
133 (void)version; /* Unused. Silent compiler warning. */
134 (void)upload_data; /* Unused. Silent compiler warning. */
135 (void)upload_data_size; /* Unused. Silent compiler warning. */
132 136
133 if (0 != strcmp (method, MHD_HTTP_METHOD_GET)) 137 if (0 != strcmp (method, MHD_HTTP_METHOD_GET))
134 return MHD_NO; /* unexpected method */ 138 return MHD_NO; /* unexpected method */