summaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-12-08 21:14:36 +0100
committerChristian Grothoff <christian@grothoff.org>2021-12-08 21:14:36 +0100
commit5433c2a475a9325d0b9f0272faa197a6f8e6d24b (patch)
treef71dc91e75c586ad2dbbeea94f2e9aa00c9a3e77 /src/testing
parent7fdcec4c3c401bf18e24234f4323aa9545c0eb72 (diff)
downloadexchange-5433c2a475a9325d0b9f0272faa197a6f8e6d24b.tar.gz
exchange-5433c2a475a9325d0b9f0272faa197a6f8e6d24b.tar.bz2
exchange-5433c2a475a9325d0b9f0272faa197a6f8e6d24b.zip
be more backwards-compatible
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing_api_cmd_oauth.c6
1 files 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,