diff options
author | ng0 <ng0@n0.is> | 2019-04-17 19:25:43 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-04-17 19:25:43 +0000 |
commit | 1fdec6b1bff1475eaee6246442d303e3c52251ce (patch) | |
tree | 92db66775ba28440c032f8ef507dd2cb967e3fa2 /src | |
parent | ee9cff3555f62535115a0712e6846f67542ac78d (diff) |
Refactor for GNUNET_memcmp
Diffstat (limited to 'src')
-rw-r--r-- | src/exchange/taler-exchange-httpd_refresh_reveal.c | 5 |
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, |