diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-06-25 16:48:17 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-06-25 16:48:17 +0200 |
commit | ebf5592f77b94d473c2a54468133a46f2dcc8c53 (patch) | |
tree | 6bec87aa8d43eefc5bf3103a77c99f4dba8ebe8e | |
parent | 1c47da45560120a1eb55cbfd03a87d77491cd14e (diff) |
typos
m--------- | contrib/gana | 0 | ||||
-rw-r--r-- | src/auditor/taler-auditor-httpd_deposit-confirmation-del.c | 4 | ||||
-rw-r--r-- | src/auditor/taler-helper-auditor-reserves.c | 17 |
3 files changed, 13 insertions, 8 deletions
diff --git a/contrib/gana b/contrib/gana -Subproject d436db3d35975f820a69c4b55b3465c180a1003 +Subproject 0baf85c343246014057bf51ae990466d0357b93 diff --git a/src/auditor/taler-auditor-httpd_deposit-confirmation-del.c b/src/auditor/taler-auditor-httpd_deposit-confirmation-del.c index e9692bc9a..ed5a63ec9 100644 --- a/src/auditor/taler-auditor-httpd_deposit-confirmation-del.c +++ b/src/auditor/taler-auditor-httpd_deposit-confirmation-del.c @@ -17,7 +17,7 @@ /** * @file taler-auditor-httpd_deposit-confirmation-delete.c * @brief Handle /deposit-confirmation delete request; - * Remove the specifed entry from the database + * Remove the specified entry from the database * @author Cedric Zwahlen */ @@ -70,4 +70,4 @@ TAH_DEPOSIT_CONFIRMATION_handler_delete (struct TAH_RequestHandler *rh, GNUNET_JSON_pack_string ("status", "DEPOSIT_CONFIRMATION_OK")); -}
\ No newline at end of file +} diff --git a/src/auditor/taler-helper-auditor-reserves.c b/src/auditor/taler-helper-auditor-reserves.c index 210356a06..27d1c8d8f 100644 --- a/src/auditor/taler-helper-auditor-reserves.c +++ b/src/auditor/taler-helper-auditor-reserves.c @@ -387,7 +387,8 @@ load_auditor_reserve_summary (struct ReserveSummary *rs) &rs->prev_balance.reserve_loss)); GNUNET_assert (GNUNET_OK == TALER_amount_set_zero (rs->total_in.currency, - &rs->prev_balance.withdraw_fee_balance)); + &rs->prev_balance.withdraw_fee_balance + )); GNUNET_assert (GNUNET_OK == TALER_amount_set_zero (rs->total_in.currency, &rs->prev_balance.close_fee_balance)); @@ -399,7 +400,8 @@ load_auditor_reserve_summary (struct ReserveSummary *rs) &rs->prev_balance.open_fee_balance)); GNUNET_assert (GNUNET_OK == TALER_amount_set_zero (rs->total_in.currency, - &rs->prev_balance.history_fee_balance)); + &rs->prev_balance.history_fee_balance) + ); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Creating fresh reserve `%s'\n", TALER_B2S (&rs->reserve_pub)); @@ -478,7 +480,8 @@ setup_reserve (struct ReserveContext *rc, &rs->curr_balance.reserve_loss)); GNUNET_assert (GNUNET_OK == TALER_amount_set_zero (TALER_ARL_currency, - &rs->curr_balance.withdraw_fee_balance)); + &rs->curr_balance.withdraw_fee_balance)) + ; GNUNET_assert (GNUNET_OK == TALER_amount_set_zero (TALER_ARL_currency, &rs->curr_balance.close_fee_balance)); @@ -659,7 +662,8 @@ handle_reserve_out (void *cls, GNUNET_JSON_pack_uint64 ("row", rowid), TALER_JSON_pack_time_abs_human ("execution_date", - execution_date.abs_time), + execution_date.abs_time) + , GNUNET_JSON_pack_data_auto ("reserve_pub", reserve_pub), GNUNET_JSON_pack_data_auto ("denompub_h", @@ -1679,7 +1683,7 @@ verify_reserve_balance (void *cls, { /* We failed to determine the closing fee, complain! */ // TODO: fix correctly and not just comment out - // nbalance get's set to invalid and there is never a check happening when working further with nbalance, + // nbalance is set to invalid and there is never a check happening when working further with nbalance, // why so and why adding those balances here? or what's the usecase of setting nbalance to zero? /*TALER_ARL_amount_add (&total_balance_reserve_not_closed, &total_balance_reserve_not_closed, @@ -1756,7 +1760,8 @@ verify_reserve_balance (void *cls, &TALER_ARL_USE_AB ( reserves_reserve_total_balance), /* what we had */ &rs->total_out, /* what we needed */ - 0 /* specific profit/loss does not apply to the total summary */); + 0 /* specific profit/loss does not apply to the total summary */ + ); /* We unexpectedly went negative, so a sane value to continue from would be zero. */ GNUNET_assert (GNUNET_OK == |