diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-26 14:15:55 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-26 14:15:55 +0200 |
commit | c575f67285f6bd984a3cfca5635ffa8c496ef391 (patch) | |
tree | 62868e2c21c56c97e180bd3f81aa0c31a57aadf0 | |
parent | 1c4f23db7458d79a04c8e68022ade67cb5ee006b (diff) | |
parent | 6c53cad4eca77f698fd40a2e821340efdeaa8c9c (diff) | |
download | libmicrohttpd-c575f67285f6bd984a3cfca5635ffa8c496ef391.tar.gz libmicrohttpd-c575f67285f6bd984a3cfca5635ffa8c496ef391.zip |
Merge branch 'master' of git+ssh://gnunet.org/libmicrohttpd
-rw-r--r-- | doc/chapters/basicauthentication.inc | 1 | ||||
-rw-r--r-- | doc/examples/basicauthentication.c | 2 | ||||
-rw-r--r-- | doc/libmicrohttpd.texi | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/doc/chapters/basicauthentication.inc b/doc/chapters/basicauthentication.inc index cfcc96ff..ec606f3e 100644 --- a/doc/chapters/basicauthentication.inc +++ b/doc/chapters/basicauthentication.inc | |||
@@ -87,6 +87,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection, | |||
87 | char *user; | 87 | char *user; |
88 | char *pass; | 88 | char *pass; |
89 | int fail; | 89 | int fail; |
90 | enum MHD_Result ret; | ||
90 | struct MHD_Response *response; | 91 | struct MHD_Response *response; |
91 | 92 | ||
92 | if (0 != strcmp (method, MHD_HTTP_METHOD_GET)) | 93 | if (0 != strcmp (method, MHD_HTTP_METHOD_GET)) |
diff --git a/doc/examples/basicauthentication.c b/doc/examples/basicauthentication.c index 5d156f04..fffc728f 100644 --- a/doc/examples/basicauthentication.c +++ b/doc/examples/basicauthentication.c | |||
@@ -26,7 +26,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection, | |||
26 | char *user; | 26 | char *user; |
27 | char *pass; | 27 | char *pass; |
28 | int fail; | 28 | int fail; |
29 | int ret; | 29 | enum MHD_Result ret; |
30 | struct MHD_Response *response; | 30 | struct MHD_Response *response; |
31 | (void) cls; /* Unused. Silent compiler warning. */ | 31 | (void) cls; /* Unused. Silent compiler warning. */ |
32 | (void) url; /* Unused. Silent compiler warning. */ | 32 | (void) url; /* Unused. Silent compiler warning. */ |
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi index fd776028..e82ba393 100644 --- a/doc/libmicrohttpd.texi +++ b/doc/libmicrohttpd.texi | |||
@@ -2507,7 +2507,7 @@ If returned value is not @code{NULL}, the value must be @code{MHD_free()}'ed. | |||
2507 | If returned value is not @code{NULL}, the value must be @code{MHD_free()}'ed. | 2507 | If returned value is not @code{NULL}, the value must be @code{MHD_free()}'ed. |
2508 | @end deftypefun | 2508 | @end deftypefun |
2509 | 2509 | ||
2510 | @deftypefun {int} MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection, const char *realm, struct MHD_Response *response) | 2510 | @deftypefun {enum MHD_Result} MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection, const char *realm, struct MHD_Response *response) |
2511 | Queues a response to request basic authentication from the client. | 2511 | Queues a response to request basic authentication from the client. |
2512 | Return @code{MHD_YES} if successful, otherwise @code{MHD_NO}. | 2512 | Return @code{MHD_YES} if successful, otherwise @code{MHD_NO}. |
2513 | 2513 | ||