refactor for GNUNET_memcmp
This commit is contained in:
parent
a5007df7e4
commit
cf62f519d2
@ -613,9 +613,8 @@ track_transfer_cb
|
|||||||
TALER_JSON_merchant_wire_signature_hash (wire_details,
|
TALER_JSON_merchant_wire_signature_hash (wire_details,
|
||||||
&h_wire_details));
|
&h_wire_details));
|
||||||
|
|
||||||
if (0 != memcmp (&h_wire_details,
|
if (0 != GNUNET_memcmp (&h_wire_details,
|
||||||
h_wire,
|
h_wire))
|
||||||
sizeof (struct GNUNET_HashCode)))
|
|
||||||
{
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Wire hash missmath to command %s\n",
|
"Wire hash missmath to command %s\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user