diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-01-18 20:29:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-01-18 20:29:20 +0000 |
commit | a375ced487698a957c5f2f30a965a2755f9e2cb3 (patch) | |
tree | 2ba0ebd1f5e002e012aa0223f8460c72738af58e | |
parent | 76345508b0a0d4acc78363e869f706172750d120 (diff) | |
download | libmicrohttpd-a375ced487698a957c5f2f30a965a2755f9e2cb3.tar.gz libmicrohttpd-a375ced487698a957c5f2f30a965a2755f9e2cb3.zip |
-nl issue
-rw-r--r-- | src/examples/authorization_example.c | 4 |
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 | } |