summaryrefslogtreecommitdiff
path: root/src/bank-lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-03 19:10:40 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-03 19:10:40 +0100
commita3013d9e3d26daf9f5df39046c6a9bc0dc45603b (patch)
tree1aea9dda77e3f3f14752a4821cac8b61e3903a39 /src/bank-lib
parent0d30e535851d99d0e679f1fddb77d2e54f4e387b (diff)
downloadexchange-a3013d9e3d26daf9f5df39046c6a9bc0dc45603b.tar.gz
exchange-a3013d9e3d26daf9f5df39046c6a9bc0dc45603b.tar.bz2
exchange-a3013d9e3d26daf9f5df39046c6a9bc0dc45603b.zip
minor cleanup
Diffstat (limited to 'src/bank-lib')
-rw-r--r--src/bank-lib/fakebank.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index 74d6b9a6..dfe3ada8 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,