gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -fix bad method handling in kyc-


From: gnunet
Subject: [taler-exchange] branch master updated: -fix bad method handling in kyc-tester
Date: Sat, 22 Oct 2022 13:21:13 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 3d1443d4 -fix bad method handling in kyc-tester
3d1443d4 is described below

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

    -fix bad method handling in kyc-tester
---
 src/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
index e9178d4e..2aed8d96 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,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]