-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);
|
return TALER_MHD_reply_cors_preflight (connection);
|
||||||
}
|
}
|
||||||
GNUNET_assert (NULL != rh->method);
|
GNUNET_assert (NULL != rh->method);
|
||||||
if (0 == strcasecmp (method,
|
if (0 != strcasecmp (method,
|
||||||
rh->method))
|
rh->method))
|
||||||
|
{
|
||||||
|
found = true;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
/* cache to avoid the loop next time */
|
/* cache to avoid the loop next time */
|
||||||
rc->rh = rh;
|
rc->rh = rh;
|
||||||
/* run handler */
|
/* run handler */
|
||||||
|
Loading…
Reference in New Issue
Block a user