From 5433c2a475a9325d0b9f0272faa197a6f8e6d24b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 8 Dec 2021 21:14:36 +0100 Subject: [PATCH] be more backwards-compatible --- src/testing/testing_api_cmd_oauth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/testing/testing_api_cmd_oauth.c b/src/testing/testing_api_cmd_oauth.c index 9c2fef8e4..eaf7f9068 100644 --- a/src/testing/testing_api_cmd_oauth.c +++ b/src/testing/testing_api_cmd_oauth.c @@ -79,7 +79,7 @@ append (char **target, } -static enum MHD_Result +static MHD_RESULT handle_post (void *cls, enum MHD_ValueKind kind, const char *key, @@ -160,7 +160,7 @@ handle_post (void *cls, * #MHD_NO if the socket must be closed due to a serious * error while handling the request */ -static enum MHD_Result +static MHD_RESULT handler_cb (void *cls, struct MHD_Connection *connection, const char *url, @@ -210,7 +210,7 @@ handler_cb (void *cls, } if (0 != *upload_data_size) { - enum MHD_Result ret; + MHD_RESULT ret; ret = MHD_post_process (rc->pp, upload_data,