memcmp
This commit is contained in:
parent
d82068a121
commit
3cf3c580a9
@ -289,14 +289,12 @@ handle_transaction_data (void *cls,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ( (0 != memcmp (&ctx->merchant_pub,
|
if ( (0 != GNUNET_memcmp (&ctx->merchant_pub,
|
||||||
merchant_pub,
|
merchant_pub)) ||
|
||||||
sizeof (struct TALER_MerchantPublicKeyP))) ||
|
|
||||||
(0 != strcmp (wire_method,
|
(0 != strcmp (wire_method,
|
||||||
ctx->wire_method)) ||
|
ctx->wire_method)) ||
|
||||||
(0 != memcmp (&ctx->h_wire,
|
(0 != GNUNET_memcmp (&ctx->h_wire,
|
||||||
h_wire,
|
h_wire)) )
|
||||||
sizeof (struct GNUNET_HashCode))) )
|
|
||||||
{
|
{
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
ctx->is_valid = GNUNET_SYSERR;
|
ctx->is_valid = GNUNET_SYSERR;
|
||||||
|
Loading…
Reference in New Issue
Block a user