aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-04-17 19:25:43 +0000
committerng0 <ng0@n0.is>2019-04-17 19:25:43 +0000
commit1fdec6b1bff1475eaee6246442d303e3c52251ce (patch)
tree92db66775ba28440c032f8ef507dd2cb967e3fa2 /src
parentee9cff3555f62535115a0712e6846f67542ac78d (diff)
Refactor for GNUNET_memcmp
Diffstat (limited to 'src')
-rw-r--r--src/exchange/taler-exchange-httpd_refresh_reveal.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/exchange/taler-exchange-httpd_refresh_reveal.c b/src/exchange/taler-exchange-httpd_refresh_reveal.c
index 14dd12ad2..bdf59c37b 100644
--- a/src/exchange/taler-exchange-httpd_refresh_reveal.c
+++ b/src/exchange/taler-exchange-httpd_refresh_reveal.c
@@ -399,9 +399,8 @@ refresh_reveal_transaction (void *cls,
}
/* Verify rc_expected matches rc */
- if (0 != memcmp (&rctx->rc,
- &rc_expected,
- sizeof (struct TALER_RefreshCommitmentP)))
+ if (0 != GNUNET_memcmp (&rctx->rc,
+ &rc_expected))
{
GNUNET_break_op (0);
*mhd_ret = reply_refresh_reveal_missmatch (connection,