summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-04-18 17:30:53 +0200
committerChristian Grothoff <christian@grothoff.org>2019-04-18 17:30:53 +0200
commit3cf3c580a97ac7718f5ee179e22e28719e2fb885 (patch)
tree6cdb1abf9cfd9f6ca058a6d038d4e2cce8a2570f
parentd82068a1214e7e0ca894e9d7f4dd8b3daaf10ba4 (diff)
downloadexchange-3cf3c580a97ac7718f5ee179e22e28719e2fb885.tar.gz
exchange-3cf3c580a97ac7718f5ee179e22e28719e2fb885.tar.bz2
exchange-3cf3c580a97ac7718f5ee179e22e28719e2fb885.zip
memcmp
-rw-r--r--src/exchange/taler-exchange-httpd_track_transfer.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/exchange/taler-exchange-httpd_track_transfer.c b/src/exchange/taler-exchange-httpd_track_transfer.c
index 429c86f3..1ed62d6c 100644
--- a/src/exchange/taler-exchange-httpd_track_transfer.c
+++ b/src/exchange/taler-exchange-httpd_track_transfer.c
@@ -289,14 +289,12 @@ handle_transaction_data (void *cls,
}
else
{
- if ( (0 != memcmp (&ctx->merchant_pub,
- merchant_pub,
- sizeof (struct TALER_MerchantPublicKeyP))) ||
+ if ( (0 != GNUNET_memcmp (&ctx->merchant_pub,
+ merchant_pub)) ||
(0 != strcmp (wire_method,
ctx->wire_method)) ||
- (0 != memcmp (&ctx->h_wire,
- h_wire,
- sizeof (struct GNUNET_HashCode))) )
+ (0 != GNUNET_memcmp (&ctx->h_wire,
+ h_wire)) )
{
GNUNET_break (0);
ctx->is_valid = GNUNET_SYSERR;