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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/digest_auth_example.c b/src/examples/digest_auth_example.c
index 073726ad..44faefeb 100644
--- a/src/examples/digest_auth_example.c
+++ b/src/examples/digest_auth_example.c
@@ -40,7 +40,7 @@ ahc_echo (void *cls,
40 const char *url, 40 const char *url,
41 const char *method, 41 const char *method,
42 const char *version, 42 const char *version,
43 const char *upload_data, size_t *upload_data_size, void **ptr) 43 const char *upload_data, size_t *upload_data_size, void **req_cls)
44{ 44{
45 struct MHD_Response *response; 45 struct MHD_Response *response;
46 char *username; 46 char *username;
@@ -54,7 +54,7 @@ ahc_echo (void *cls,
54 (void) version; /* Unused. Silent compiler warning. */ 54 (void) version; /* Unused. Silent compiler warning. */
55 (void) upload_data; /* Unused. Silent compiler warning. */ 55 (void) upload_data; /* Unused. Silent compiler warning. */
56 (void) upload_data_size; /* Unused. Silent compiler warning. */ 56 (void) upload_data_size; /* Unused. Silent compiler warning. */
57 (void) ptr; /* Unused. Silent compiler warning. */ 57 (void) req_cls; /* Unused. Silent compiler warning. */
58 58
59 username = MHD_digest_auth_get_username (connection); 59 username = MHD_digest_auth_get_username (connection);
60 if (NULL == username) 60 if (NULL == username)