diff options
author | ng0 <ng0@n0.is> | 2019-04-10 20:48:04 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-04-10 20:48:04 +0000 |
commit | 7bebb3c7800ae236ecab3ceaec35b9778b3061a0 (patch) | |
tree | 394668723e97c9be0e7e813bf8f6ed5c2699d622 /src | |
parent | 074b011d012eb0a202ff59b6444b272a8224cbf5 (diff) |
Refactor testing_api_cmd_payback for GNUNET_memcmp
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/testing_api_cmd_payback.c | 3 |
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 dd8652aed..9b49108cd 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); |