From a3013d9e3d26daf9f5df39046c6a9bc0dc45603b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 3 Mar 2020 19:10:40 +0100 Subject: minor cleanup --- src/bank-lib/fakebank.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/bank-lib') diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c index 74d6b9a6f..dfe3ada89 100644 --- a/src/bank-lib/fakebank.c +++ b/src/bank-lib/fakebank.c @@ -344,8 +344,8 @@ TALER_FAKEBANK_check_credit (struct TALER_FAKEBANK_Handle *h, * @param exchange_base_url exchange URL * @param request_uid unique number to make the request unique, or NULL to create one * @param[out] ret_row_id pointer to store the row ID of this transaction - * @return GNUNET_YES if the transfer was successful, - * GNUNET_SYSERR if the request_uid was reused for a different transfer + * @return #GNUNET_YES if the transfer was successful, + * #GNUNET_SYSERR if the request_uid was reused for a different transfer */ int TALER_FAKEBANK_make_transfer (struct TALER_FAKEBANK_Handle *h, @@ -638,6 +638,7 @@ handle_admin_add_incoming (struct TALER_FAKEBANK_Handle *h, { GNUNET_break (0); json_decref (json); + /* We're fakebank, no need for nice error handling */ return MHD_NO; } debit = TALER_xtalerbank_account_from_payto (debit_account); @@ -662,8 +663,9 @@ handle_admin_add_incoming (struct TALER_FAKEBANK_Handle *h, "{s:I, s:o}", "row_id", (json_int_t) row_id, - "timestamp", GNUNET_JSON_from_time_abs ( - GNUNET_TIME_UNIT_ZERO_ABS)); /*dummy tmp */ + "timestamp", + GNUNET_JSON_from_time_abs ( + GNUNET_TIME_UNIT_ZERO_ABS)); } @@ -740,6 +742,7 @@ handle_transfer (struct TALER_FAKEBANK_Handle *h, { GNUNET_break (0); json_decref (json); + /* We are fakebank, no need for nice error handling */ return MHD_NO; } { @@ -864,7 +867,7 @@ struct HistoryArgs * * @param connection MHD connection. * @param[out] ha will contain the parsed values. - * @return GNUNET_OK only if the parsing succeedes. + * @return #GNUNET_OK only if the parsing succeedes. */ static int parse_history_common_args (struct MHD_Connection *connection, -- cgit v1.2.3