diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-09 00:59:55 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-09 00:59:55 +0200 |
commit | 543fe4ae36649cf64eabb1b1447539bfb0c3c7c2 (patch) | |
tree | 81e9bf344e28225ccf425311519738c7fe3b0300 /src/auditor/taler-auditor-httpd_deposit-confirmation.c | |
parent | 84a40be0bce66cda800de7891f758a0c69afc7fa (diff) |
make code compiler without warnings with latest libmicrohttpd API
Diffstat (limited to 'src/auditor/taler-auditor-httpd_deposit-confirmation.c')
-rw-r--r-- | src/auditor/taler-auditor-httpd_deposit-confirmation.c | 8 |
1 files changed, 4 insertions, 4 deletions
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, |