[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: memcmp
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: memcmp |
Date: |
Thu, 18 Apr 2019 17:30:56 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 3cf3c580 memcmp
3cf3c580 is described below
commit 3cf3c580a97ac7718f5ee179e22e28719e2fb885
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Apr 18 17:30:53 2019 +0200
memcmp
---
src/exchange/taler-exchange-httpd_track_transfer.c | 10 ++++------
1 file 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;
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [taler-exchange] branch master updated: memcmp,
gnunet <=