exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 0fcee3d02c7e6029f283664ed5c6382dfb77a2b4
parent cd891637eced98eeb18d00f01c54d61f523a2560
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  2 Aug 2026 22:21:54 +0200

fix compiler warning (double cmp with ==)

Diffstat:
Msrc/mhd/mhd2_legal.c | 2+-
Msrc/util/amount.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mhd/mhd2_legal.c b/src/mhd/mhd2_legal.c @@ -235,7 +235,7 @@ TALER_MHD2_reply_legal (struct MHD_Request *request, /* Client expressed no preference between these two formats, so fall back to our own ranking instead of letting the last entry in the list win. */ - if ( (q == best_lang_q) && + if ( (q <= best_lang_q) && (p->priority <= t->priority) ) continue; } diff --git a/src/util/amount.c b/src/util/amount.c @@ -950,7 +950,7 @@ const struct TALER_Amount * TALER_amount_set_find (const char *currency, const struct TALER_AmountSet *as) { - static GNUNET_THREAD_LOCAL struct TALER_Amount z; + static struct TALER_Amount z; for (unsigned int i = 0; i<as->taa_size; i++) {