aboutsummaryrefslogtreecommitdiff
path: root/src/auditor/taler-auditor-httpd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-09 00:59:55 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-09 00:59:55 +0200
commit543fe4ae36649cf64eabb1b1447539bfb0c3c7c2 (patch)
tree81e9bf344e28225ccf425311519738c7fe3b0300 /src/auditor/taler-auditor-httpd.c
parent84a40be0bce66cda800de7891f758a0c69afc7fa (diff)
make code compiler without warnings with latest libmicrohttpd API
Diffstat (limited to 'src/auditor/taler-auditor-httpd.c')
-rw-r--r--src/auditor/taler-auditor-httpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auditor/taler-auditor-httpd.c b/src/auditor/taler-auditor-httpd.c
index 4f7e11f84..627950aed 100644
--- a/src/auditor/taler-auditor-httpd.c
+++ b/src/auditor/taler-auditor-httpd.c
@@ -302,7 +302,7 @@ handle_mhd_completion_callback (void *cls,
* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
* @return MHD result code
*/
-static int
+static MHD_RESULT
handle_version (struct TAH_RequestHandler *rh,
struct MHD_Connection *connection,
void **connection_cls,
@@ -347,7 +347,7 @@ handle_version (struct TAH_RequestHandler *rh,
* @param con_cls closure for request (a `struct Buffer *`)
* @return MHD result code
*/
-static int
+static MHD_RESULT
handle_mhd_request (void *cls,
struct MHD_Connection *connection,
const char *url,