donau

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

commit 1ab6b82aa4a8ee0da7f45897bbac0d9adc9f0bb4
parent 643382a495b21acb62cd0c459a0098f95846075e
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
Date:   Tue, 23 Apr 2024 16:52:41 +0200

merge3

Diffstat:
Msrc/donaudb/plugin_donaudb_postgres.c | 16++++++++--------
Msrc/include/donaudb_plugin.h | 2+-
2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/donaudb/plugin_donaudb_postgres.c b/src/donaudb/plugin_donaudb_postgres.c @@ -69,14 +69,14 @@ * @param conn SQL connection that was used */ #define BREAK_DB_ERR(result,conn) do { \ - GNUNET_break (0); \ - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, \ - "Database failure: %s/%s/%s/%s/%s", \ - PQresultErrorField (result, PG_DIAG_MESSAGE_PRIMARY), \ - PQresultErrorField (result, PG_DIAG_MESSAGE_DETAIL), \ - PQresultErrorMessage (result), \ - PQresStatus (PQresultStatus (result)), \ - PQerrorMessage (conn)); \ + GNUNET_break (0); \ + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, \ + "Database failure: %s/%s/%s/%s/%s", \ + PQresultErrorField (result, PG_DIAG_MESSAGE_PRIMARY), \ + PQresultErrorField (result, PG_DIAG_MESSAGE_DETAIL), \ + PQresultErrorMessage (result), \ + PQresStatus (PQresultStatus (result)), \ + PQerrorMessage (conn)); \ } while (0) diff --git a/src/include/donaudb_plugin.h b/src/include/donaudb_plugin.h @@ -527,7 +527,7 @@ struct DONAUDB_Plugin * @return transaction status code */ enum GNUNET_DB_QueryStatus - (*insert_submitted_receipt)( + (*insert_submitted_receipts)( void *cls, const struct DONAU_HashDonorTaxId *h_tax_number, const struct DONAU_DonationReceipt *donation_receipts,