[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] 05/05: refactor for GNUNET_memcmp
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] 05/05: refactor for GNUNET_memcmp |
Date: |
Mon, 08 Apr 2019 16:58:51 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository exchange.
commit cf62f519d20ece92140a8ace68ef62e88377cd45
Author: ng0 <address@hidden>
AuthorDate: Mon Apr 8 13:29:36 2019 +0000
refactor for GNUNET_memcmp
---
src/lib/testing_api_cmd_track.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/lib/testing_api_cmd_track.c b/src/lib/testing_api_cmd_track.c
index 4898a097..6afb0ac6 100644
--- a/src/lib/testing_api_cmd_track.c
+++ b/src/lib/testing_api_cmd_track.c
@@ -613,9 +613,8 @@ track_transfer_cb
TALER_JSON_merchant_wire_signature_hash (wire_details,
&h_wire_details));
- if (0 != memcmp (&h_wire_details,
- h_wire,
- sizeof (struct GNUNET_HashCode)))
+ if (0 != GNUNET_memcmp (&h_wire_details,
+ h_wire))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Wire hash missmath to command %s\n",
--
To stop receiving notification emails like this one, please contact
address@hidden