summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-04-10 20:48:04 +0000
committerng0 <ng0@n0.is>2019-04-10 20:48:04 +0000
commit7bebb3c7800ae236ecab3ceaec35b9778b3061a0 (patch)
tree394668723e97c9be0e7e813bf8f6ed5c2699d622
parent074b011d012eb0a202ff59b6444b272a8224cbf5 (diff)
downloadexchange-7bebb3c7800ae236ecab3ceaec35b9778b3061a0.tar.gz
exchange-7bebb3c7800ae236ecab3ceaec35b9778b3061a0.tar.bz2
exchange-7bebb3c7800ae236ecab3ceaec35b9778b3061a0.zip
Refactor testing_api_cmd_payback for GNUNET_memcmp
-rw-r--r--src/lib/testing_api_cmd_payback.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/testing_api_cmd_payback.c b/src/lib/testing_api_cmd_payback.c
index dd8652ae..9b49108c 100644
--- a/src/lib/testing_api_cmd_payback.c
+++ b/src/lib/testing_api_cmd_payback.c
@@ -188,8 +188,7 @@ payback_cb (void *cls,
TALER_TESTING_interpreter_fail (is);
return;
}
- if (0 != memcmp (reserve_pub, &rp,
- sizeof (struct TALER_ReservePublicKeyP)))
+ if (0 != GNUNET_memcmp (reserve_pub, &rp))
{
GNUNET_break (0);
TALER_TESTING_interpreter_fail (is);