aboutsummaryrefslogtreecommitdiff
path: root/src/examples/authorization_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/authorization_example.c')
-rw-r--r--src/examples/authorization_example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/authorization_example.c b/src/examples/authorization_example.c
index e6e69ad1..8be6ad15 100644
--- a/src/examples/authorization_example.c
+++ b/src/examples/authorization_example.c
@@ -71,14 +71,14 @@ ahc_echo (void *cls,
71 if (fail) 71 if (fail)
72 { 72 {
73 response = MHD_create_response_from_buffer (strlen (DENIED), 73 response = MHD_create_response_from_buffer (strlen (DENIED),
74 (void *) DENIED, 74 (void *) DENIED,
75 MHD_RESPMEM_PERSISTENT); 75 MHD_RESPMEM_PERSISTENT);
76 ret = MHD_queue_basic_auth_fail_response (connection,"TestRealm",response); 76 ret = MHD_queue_basic_auth_fail_response (connection,"TestRealm",response);
77 } 77 }
78 else 78 else
79 { 79 {
80 response = MHD_create_response_from_buffer (strlen (me), 80 response = MHD_create_response_from_buffer (strlen (me),
81 (void *) me, 81 (void *) me,
82 MHD_RESPMEM_PERSISTENT); 82 MHD_RESPMEM_PERSISTENT);
83 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 83 ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
84 } 84 }