gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -fix FTBFS


From: gnunet
Subject: [taler-exchange] branch master updated: -fix FTBFS
Date: Sun, 05 Jan 2025 23:22:03 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 3a8ad4801 -fix FTBFS
3a8ad4801 is described below

commit 3a8ad480175c48af6fc8f9a1e22cc1a51a06b2f2
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Jan 5 23:21:56 2025 +0100

    -fix FTBFS
---
 src/exchange/taler-exchange-sanctionscheck.c | 3 +++
 src/kyclogic/kyclogic_sanctions.c            | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/exchange/taler-exchange-sanctionscheck.c 
b/src/exchange/taler-exchange-sanctionscheck.c
index 487c7f07d..858f24aab 100644
--- 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
index 3aab6ecbf..985a97cda 100644
--- 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);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]