aboutsummaryrefslogtreecommitdiff
path: root/src/examples/digest_auth_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/digest_auth_example.c')
-rw-r--r--src/examples/digest_auth_example.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/examples/digest_auth_example.c b/src/examples/digest_auth_example.c
index 548d0d96..4b00669f 100644
--- a/src/examples/digest_auth_example.c
+++ b/src/examples/digest_auth_example.c
@@ -45,6 +45,13 @@ ahc_echo (void *cls,
45 const char *password = "testpass"; 45 const char *password = "testpass";
46 const char *realm = "test@example.com"; 46 const char *realm = "test@example.com";
47 int ret; 47 int ret;
48 (void)cls; /* Unused. Silent compiler warning. */
49 (void)url; /* Unused. Silent compiler warning. */
50 (void)method; /* Unused. Silent compiler warning. */
51 (void)version; /* Unused. Silent compiler warning. */
52 (void)upload_data; /* Unused. Silent compiler warning. */
53 (void)upload_data_size; /* Unused. Silent compiler warning. */
54 (void)ptr; /* Unused. Silent compiler warning. */
48 55
49 username = MHD_digest_auth_get_username(connection); 56 username = MHD_digest_auth_get_username(connection);
50 if (username == NULL) 57 if (username == NULL)