[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: use constant for verboten
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: use constant for verboten |
Date: |
Thu, 07 Nov 2024 16:20:44 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 97da8794a use constant for verboten
97da8794a is described below
commit 97da8794ac1d1f2e8821daa9277322037faeab52
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Nov 7 16:20:40 2024 +0100
use constant for verboten
---
src/kyclogic/kyclogic_api.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/kyclogic/kyclogic_api.c b/src/kyclogic/kyclogic_api.c
index 1d15cb2f0..af59978dd 100644
--- a/src/kyclogic/kyclogic_api.c
+++ b/src/kyclogic/kyclogic_api.c
@@ -966,7 +966,7 @@ TALER_KYCLOGIC_rule_get_instant_measure (
const char *measure_name = r->next_measures[i];
const struct TALER_KYCLOGIC_Measure *ms;
- if (0 == strcasecmp (measure_name, "verboten"))
+ if (0 == strcasecmp (measure_name, KYC_MEASURE_IMPOSSIBLE))
{
/* If any of the measures if verboten, we do not even
consider execution of the instant measure. */
@@ -1075,7 +1075,7 @@ TALER_KYCLOGIC_zero_measures (
json_decref (zero_measures);
return NULL;
}
- if (0 == strcasecmp ("verboten",
+ if (0 == strcasecmp (KYC_MEASURE_IMPOSSIBLE
ms->check_name))
continue; /* not a measure to be selected */
mi = GNUNET_JSON_PACK (
@@ -1123,7 +1123,7 @@ append_voluntary_measure (
if (! ms->voluntary)
return;
- if (0 == strcasecmp ("verboten",
+ if (0 == strcasecmp (KYC_MEASURE_IMPOSSIBLE,
ms->check_name))
return; /* very strange configuration */
#if 0
@@ -1207,7 +1207,7 @@ TALER_KYCLOGIC_get_instant_measure (
{
const struct TALER_KYCLOGIC_Measure *ms;
- if (0 == strcasecmp ("verboten",
+ if (0 == strcasecmp (KYC_MEASURE_IMPOSSIBLE,
tok))
{
continue;
@@ -1219,7 +1219,7 @@ TALER_KYCLOGIC_get_instant_measure (
GNUNET_break (0);
continue;
}
- if (0 == strcasecmp ("verboten",
+ if (0 == strcasecmp (KYC_MEASURE_IMPOSSIBLE,
ms->check_name))
{
continue;
@@ -1264,7 +1264,7 @@ TALER_KYCLOGIC_get_measures (
const struct TALER_KYCLOGIC_Measure *ms;
json_t *mi;
- if (0 == strcasecmp ("verboten",
+ if (0 == strcasecmp (KYC_MEASURE_IMPOSSIBLE,
tok))
{
verboten = true;
@@ -2591,7 +2591,7 @@ TALER_KYCLOGIC_kyc_init (
const char *measure_name = rule->next_measures[j];
const struct TALER_KYCLOGIC_Measure *m;
- if (0 == strcmp ("verboten",
+ if (0 == strcmp (KYC_MEASURE_IMPOSSIBLE,
measure_name))
continue;
m = find_measure (&default_rules,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: use constant for verboten,
gnunet <=