Refactor testing_api_cmd_payback for GNUNET_memcmp
This commit is contained in:
parent
074b011d01
commit
7bebb3c780
@ -188,8 +188,7 @@ payback_cb (void *cls,
|
|||||||
TALER_TESTING_interpreter_fail (is);
|
TALER_TESTING_interpreter_fail (is);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (0 != memcmp (reserve_pub, &rp,
|
if (0 != GNUNET_memcmp (reserve_pub, &rp))
|
||||||
sizeof (struct TALER_ReservePublicKeyP)))
|
|
||||||
{
|
{
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
TALER_TESTING_interpreter_fail (is);
|
TALER_TESTING_interpreter_fail (is);
|
||||||
|
Loading…
Reference in New Issue
Block a user