From 543fe4ae36649cf64eabb1b1447539bfb0c3c7c2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 9 Apr 2020 00:59:55 +0200 Subject: make code compiler without warnings with latest libmicrohttpd API --- src/auditor/taler-auditor-httpd_deposit-confirmation.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/auditor/taler-auditor-httpd_deposit-confirmation.c') diff --git a/src/auditor/taler-auditor-httpd_deposit-confirmation.c b/src/auditor/taler-auditor-httpd_deposit-confirmation.c index fd48ff93b..5f84a7253 100644 --- a/src/auditor/taler-auditor-httpd_deposit-confirmation.c +++ b/src/auditor/taler-auditor-httpd_deposit-confirmation.c @@ -56,7 +56,7 @@ static pthread_mutex_t lock; * @param es information about the exchange's signing key * @return MHD result code */ -static int +static MHD_RESULT verify_and_execute_deposit_confirmation ( struct MHD_Connection *connection, const struct TALER_AUDITORDB_DepositConfirmation *dc, @@ -212,7 +212,7 @@ verify_and_execute_deposit_confirmation ( * @param[in,out] upload_data_size number of bytes (left) in @a upload_data * @return MHD result code */ -int +MHD_RESULT TAH_DEPOSIT_CONFIRMATION_handler (struct TAH_RequestHandler *rh, struct MHD_Connection *connection, void **connection_cls, @@ -245,7 +245,7 @@ TAH_DEPOSIT_CONFIRMATION_handler (struct TAH_RequestHandler *rh, (void) upload_data_size; { json_t *json; - int res; + enum GNUNET_GenericReturnValue res; res = TALER_MHD_parse_post_json (connection, connection_cls, @@ -270,7 +270,7 @@ TAH_DEPOSIT_CONFIRMATION_handler (struct TAH_RequestHandler *rh, es.exchange_pub = dc.exchange_pub; /* used twice! */ dc.master_public_key = es.master_public_key; { - int res; + MHD_RESULT res; res = verify_and_execute_deposit_confirmation (connection, &dc, -- cgit v1.2.3