commit 3a8ad480175c48af6fc8f9a1e22cc1a51a06b2f2
parent c0005efcd01b10fed4e1afbec897202707a408ac
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 5 Jan 2025 23:21:56 +0100
-fix FTBFS
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/exchange/taler-exchange-sanctionscheck.c b/src/exchange/taler-exchange-sanctionscheck.c
@@ -147,6 +147,7 @@ shutdown_task (void *cls)
* @param cls closure
* @param ec error code, #TALER_EC_NONE on success
* @param best_match identifies the sanction list entry with the best match
+ * @param expires when does the sanction list entry expire
* @param rating likelihood of the match, from 0 (none) to 1 (perfect)
* @param confidence confidence in the evaluation, from 0 (none) to 1 (perfect)
*/
@@ -154,6 +155,7 @@ static void
sanction_cb (void *cls,
enum TALER_ErrorCode ec,
const char *best_match,
+ struct GNUNET_TIME_Timestamp expires,
double rating,
double confidence)
{
@@ -202,6 +204,7 @@ sanction_cb (void *cls,
investigate,
new_rules,
properties,
+ expires,
1,
events);
json_decref (properties);
diff --git a/src/kyclogic/kyclogic_sanctions.c b/src/kyclogic/kyclogic_sanctions.c
@@ -163,8 +163,9 @@ fail_hard (struct TALER_KYCLOGIC_SanctionRater *sr)
sr->ee_tail,
ee);
ee->cb (ee->cb_cls,
- TALER_EC_GENERIC_KYC_SANCTION_LIST_CHECK_FAILED,
+ TALER_EC_EXCHANGE_GENERIC_KYC_SANCTION_LIST_CHECK_FAILED,
NULL,
+ GNUNET_TIME_UNIT_ZERO_TS,
1.0,
0.0);
free (ee->write_buf);