diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c index af9df9db..dd8ea81d 100644 --- a/src/microhttpd/digestauth.c +++ b/src/microhttpd/digestauth.c @@ -1355,7 +1355,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; SETUP_DA (algo, da); diff --git a/src/microhttpd/postprocessor.c b/src/microhttpd/postprocessor.c index 25796350..3afe8c75 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) @@ -1154,7 +1154,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)