commit 346ecceb5f0c1f3b9d716e46e4fbe5bd1421efa6 parent 7b91f3cb8ff5f32057d283843f757d7832de55d1 Author: Christian Grothoff <christian@grothoff.org> Date: Wed, 29 Jul 2026 20:09:16 +0200 fix currency cmp Diffstat:
| M | src/taler-digitizer.c | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/taler-digitizer.c b/src/taler-digitizer.c @@ -422,8 +422,10 @@ on_get_config_done (void *cls, get_config_handle = NULL; state_ctx->version_compa = vr->details.ok.version_compa; - state_ctx->currency_compa = strcmp(vr->details.ok.configi.currency, - cfg_currency); + state_ctx->currency_compa = (0 == strcasecmp(vr->details.ok.configi.currency, + cfg_currency)) + ? TALER_BANK_CC_MATCH + : TALER_BANK_CC_MISSMATCH; if(TALER_BANK_CC_MATCH != state_ctx->currency_compa) { GNUNET_log_config_invalid(GNUNET_ERROR_TYPE_ERROR,