summaryrefslogtreecommitdiff
path: root/src/exchange-tools
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2022-03-02 10:59:42 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2022-03-02 10:59:42 +0100
commit7624db4efd91aee964b54ad67be38dd901a66040 (patch)
tree4692b0fcf8070e530f9ee0dccecb54ce39289a69 /src/exchange-tools
parent4978b1e966af48a18cac86aa224b3c266a9531d7 (diff)
downloadexchange-7624db4efd91aee964b54ad67be38dd901a66040.tar.gz
exchange-7624db4efd91aee964b54ad67be38dd901a66040.tar.bz2
exchange-7624db4efd91aee964b54ad67be38dd901a66040.zip
-refactor TALER_AgeMask.mask -> TALER_AgeMask.bits
also: fix off-by-one in TALER_age_restriction_commit
Diffstat (limited to 'src/exchange-tools')
-rw-r--r--src/exchange-tools/taler-exchange-offline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange-tools/taler-exchange-offline.c b/src/exchange-tools/taler-exchange-offline.c
index 8e1fdd51..0c1e84dd 100644
--- a/src/exchange-tools/taler-exchange-offline.c
+++ b/src/exchange-tools/taler-exchange-offline.c
@@ -3260,7 +3260,7 @@ load_age_mask (const char*section_name)
static const struct TALER_AgeMask null_mask = {0};
enum GNUNET_GenericReturnValue ret;
- if (age_mask.mask == 0)
+ if (age_mask.bits == 0)
return null_mask;
if (GNUNET_OK != (GNUNET_CONFIGURATION_have_value (