aboutsummaryrefslogtreecommitdiff
path: root/doc/examples/basicauthentication.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/basicauthentication.c')
-rw-r--r--doc/examples/basicauthentication.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/examples/basicauthentication.c b/doc/examples/basicauthentication.c
index 22873d8c..0e13a2ee 100644
--- a/doc/examples/basicauthentication.c
+++ b/doc/examples/basicauthentication.c
@@ -28,6 +28,11 @@ answer_to_connection (void *cls, struct MHD_Connection *connection,
28 int fail; 28 int fail;
29 int ret; 29 int ret;
30 struct MHD_Response *response; 30 struct MHD_Response *response;
31 (void)cls; /* Unused. Silent compiler warning. */
32 (void)url; /* Unused. Silent compiler warning. */
33 (void)version; /* Unused. Silent compiler warning. */
34 (void)upload_data; /* Unused. Silent compiler warning. */
35 (void)upload_data_size; /* Unused. Silent compiler warning. */
31 36
32 if (0 != strcmp (method, "GET")) 37 if (0 != strcmp (method, "GET"))
33 return MHD_NO; 38 return MHD_NO;
@@ -67,7 +72,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection,
67 72
68 73
69int 74int
70main () 75main (void)
71{ 76{
72 struct MHD_Daemon *daemon; 77 struct MHD_Daemon *daemon;
73 78