exchange

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

commit 3d1443d4e6ee87a59bc4cc604f0f675067c5f57d
parent dec5dc025a22ba3e952fb2631d60f5f7415f99f5
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 22 Oct 2022 13:21:09 +0200

-fix bad method handling in kyc-tester

Diffstat:
Msrc/kyclogic/taler-exchange-kyc-tester.c | 10+++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/kyclogic/taler-exchange-kyc-tester.c b/src/kyclogic/taler-exchange-kyc-tester.c @@ -1137,10 +1137,14 @@ handle_mhd_request (void *cls, return TALER_MHD_reply_cors_preflight (connection); } GNUNET_assert (NULL != rh->method); - if (0 == strcasecmp (method, + if (0 != strcasecmp (method, rh->method)) - /* cache to avoid the loop next time */ - rc->rh = rh; + { + found = true; + continue; + } + /* cache to avoid the loop next time */ + rc->rh = rh; /* run handler */ return proceed_with_handler (rc, url + tok_size + 1,