[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: fix return value of MHD_queue_bas
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: fix return value of MHD_queue_basic_auth_fail_response |
Date: |
Thu, 02 Jul 2020 22:02:36 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 860b42e9 fix return value of MHD_queue_basic_auth_fail_response
860b42e9 is described below
commit 860b42e9180da4dcd7e8690a3fcdb4e37e5772c5
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Jul 2 21:56:55 2020 +0200
fix return value of MHD_queue_basic_auth_fail_response
---
ChangeLog | 3 +++
src/include/microhttpd.h | 2 +-
src/microhttpd/basicauth.c | 4 ++--
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 16e837b1..a4bafe30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+Thu 02 Jul 2020 09:56:23 PM CEST
+ Fixed return type of MHD_queue_basic_auth_fail_response. -CA/CG
+
Sun 28 Jun 2020 09:36:01 PM CEST
Fix buffer overflow issue in URL parser.
Releasing libmicrohttpd 0.9.71. -CG
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 00d4f9bd..7de7686b 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -3733,7 +3733,7 @@ MHD_basic_auth_get_username_password (struct
MHD_Connection *connection,
* @return #MHD_YES on success, #MHD_NO otherwise
* @ingroup authentication
*/
-_MHD_EXTERN int
+_MHD_EXTERN enum MHD_Result
MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection,
const char *realm,
struct MHD_Response *response);
diff --git a/src/microhttpd/basicauth.c b/src/microhttpd/basicauth.c
index 3208ee8c..d9532d4a 100644
--- a/src/microhttpd/basicauth.c
+++ b/src/microhttpd/basicauth.c
@@ -120,12 +120,12 @@ MHD_basic_auth_get_username_password (struct
MHD_Connection *connection,
* @return #MHD_YES on success, #MHD_NO otherwise
* @ingroup authentication
*/
-int
+enum MHD_Result
MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection,
const char *realm,
struct MHD_Response *response)
{
- int ret;
+ enum MHD_Result ret;
int res;
size_t hlen = strlen (realm) + strlen ("Basic realm=\"\"") + 1;
char *header;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: fix return value of MHD_queue_basic_auth_fail_response,
gnunet <=