commit f061c8617da85837bb67bcea41aef254e9452475
parent 041ada4eee987301e3b0fb299c2f5007ded63e1a
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Tue, 31 May 2022 19:44:14 +0300
Fixed 'int' instead of 'MHD_Result'
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git 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
@@ -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)