[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 09/10: Fixed 'int' instead of 'MHD_Result'
From: |
gnunet |
Subject: |
[libmicrohttpd] 09/10: Fixed 'int' instead of 'MHD_Result' |
Date: |
Tue, 31 May 2022 19:38:18 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit f061c8617da85837bb67bcea41aef254e9452475
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue May 31 19:44:14 2022 +0300
Fixed 'int' instead of 'MHD_Result'
---
src/microhttpd/digestauth.c | 2 +-
src/microhttpd/postprocessor.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index 23b41193..d94da65e 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -2161,7 +2161,7 @@ MHD_queue_auth_fail_response2 (struct MHD_Connection
*connection,
int signal_stale,
enum MHD_DigestAuthAlgorithm algo)
{
- int ret;
+ enum MHD_Result ret;
int hlen;
struct DigestAlgorithm da;
diff --git a/src/microhttpd/postprocessor.c b/src/microhttpd/postprocessor.c
index 103eb5e5..8249fc35 100644
--- a/src/microhttpd/postprocessor.c
+++ b/src/microhttpd/postprocessor.c
@@ -485,7 +485,7 @@ process_value (struct MHD_PostProcessor *pp,
* @param post_data_len number of bytes in @a post_data
* @return #MHD_YES on success, #MHD_NO if there was an error processing the
data
*/
-static int
+static enum MHD_Result
post_process_urlencoded (struct MHD_PostProcessor *pp,
const char *post_data,
size_t post_data_len)
@@ -1163,7 +1163,7 @@ free_unmarked (struct MHD_PostProcessor *pp)
* @param post_data_len number of bytes in @a post_data
* @return #MHD_NO on error,
*/
-static int
+static enum MHD_Result
post_process_multipart (struct MHD_PostProcessor *pp,
const char *post_data,
size_t post_data_len)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (afb8ed41 -> 1b8c52f1), gnunet, 2022/05/31
- [libmicrohttpd] 01/10: connection.c: fixed compiler warnings, gnunet, 2022/05/31
- [libmicrohttpd] 02/10: MHD_FIND_ADD_CC_{C,LD}FLAG_IFELSE: added new autoconf macros, gnunet, 2022/05/31
- [libmicrohttpd] 04/10: MHD_get_timeout*(): improved doxy, gnunet, 2022/05/31
- [libmicrohttpd] 05/10: Fixed wrong variable type used for result of gnutls_priority_init(), gnunet, 2022/05/31
- [libmicrohttpd] 06/10: configure: disabled one more warning on clang, gnunet, 2022/05/31
- [libmicrohttpd] 07/10: mhd_sockets: muted compiler warning with very minor optimisation, gnunet, 2022/05/31
- [libmicrohttpd] 08/10: daemon.c: fixed possible uninitialized value, gnunet, 2022/05/31
- [libmicrohttpd] 03/10: configure: added more workarounds for clang, gnunet, 2022/05/31
- [libmicrohttpd] 09/10: Fixed 'int' instead of 'MHD_Result',
gnunet <=
- [libmicrohttpd] 10/10: daemon: muted compiler warning, refactored code for readability, gnunet, 2022/05/31