summaryrefslogtreecommitdiff
path: root/src/lib/testing_api_cmd_payback.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/testing_api_cmd_payback.c')
-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);