-fix bad method handling in kyc-tester
This commit is contained in:
parent
dec5dc025a
commit
3d1443d4e6
@ -1137,8 +1137,12 @@ 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))
|
||||
{
|
||||
found = true;
|
||||
continue;
|
||||
}
|
||||
/* cache to avoid the loop next time */
|
||||
rc->rh = rh;
|
||||
/* run handler */
|
||||
|
Loading…
Reference in New Issue
Block a user