summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-10-22 13:21:09 +0200
committerChristian Grothoff <christian@grothoff.org>2022-10-22 13:21:09 +0200
commit3d1443d4e6ee87a59bc4cc604f0f675067c5f57d (patch)
treeefe7ccf9ae1d7bc381491296770c81b9891ea541 /src
parentdec5dc025a22ba3e952fb2631d60f5f7415f99f5 (diff)
downloadexchange-3d1443d4e6ee87a59bc4cc604f0f675067c5f57d.tar.gz
exchange-3d1443d4e6ee87a59bc4cc604f0f675067c5f57d.tar.bz2
exchange-3d1443d4e6ee87a59bc4cc604f0f675067c5f57d.zip
-fix bad method handling in kyc-tester
Diffstat (limited to 'src')
-rw-r--r--src/kyclogic/taler-exchange-kyc-tester.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/kyclogic/taler-exchange-kyc-tester.c b/src/kyclogic/taler-exchange-kyc-tester.c
index e9178d4e5..2aed8d961 100644
--- 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,