donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit afe458663f04d13c719eb3e34925313212a66f6b
parent 9c2b340aee9866ab6e3791663dd8d6eef2f6789d
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
Date:   Thu, 25 Apr 2024 00:32:20 +0200

small changes

Diffstat:
Msrc/donaudb/pg_insert_issued_receipt.c | 2+-
Msrc/include/donaudb_plugin.h | 6+++---
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/donaudb/pg_insert_issued_receipt.c b/src/donaudb/pg_insert_issued_receipt.c @@ -71,7 +71,7 @@ DH_PG_insert_issued_receipt ( params, rs); GNUNET_PQ_cleanup_query_params_closures (params); GNUNET_log (GNUNET_ERROR_TYPE_INFO, - "Is the new receipts_to_day smaller than the max_per_year (1 = true): %d\n", + "Is the new receipts_to_day smaller than the max_per_year (1 = true): %d\n", (*smaller_than_max_per_year)); return qs; } diff --git a/src/include/donaudb_plugin.h b/src/include/donaudb_plugin.h @@ -530,9 +530,9 @@ struct DONAUDB_Plugin (*insert_submitted_receipts)( void *cls, const struct DONAU_HashDonorTaxId *h_tax_number, - const struct DONAU_DonationReceipt *donation_receipts, - const size_t num_dr, - const uint64_t donation_year); + size_t num_dr, + const struct DONAU_DonationReceipt donation_receipts[static num_dr], + uint64_t donation_year); /** * Lookup issued receipts from the charity.