summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-04-08 13:29:36 +0000
committerng0 <ng0@n0.is>2019-04-08 14:58:21 +0000
commitcf62f519d20ece92140a8ace68ef62e88377cd45 (patch)
treed9da9f3520ead02c6845261eb1c5f1580fd8f953
parenta5007df7e41aff159d0404408e10af930c615a48 (diff)
downloadexchange-cf62f519d20ece92140a8ace68ef62e88377cd45.tar.gz
exchange-cf62f519d20ece92140a8ace68ef62e88377cd45.tar.bz2
exchange-cf62f519d20ece92140a8ace68ef62e88377cd45.zip
refactor for GNUNET_memcmp
-rw-r--r--src/lib/testing_api_cmd_track.c5
1 files 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",