diff options
author | ng0 <ng0@n0.is> | 2019-04-08 13:27:08 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-04-08 14:58:21 +0000 |
commit | a5007df7e41aff159d0404408e10af930c615a48 (patch) | |
tree | b1c3cb06b4a460c021188fb3229e80595d0a5f51 /src/wire-plugins | |
parent | d55c2acbd5fd399b73401e755b2812ef407971e8 (diff) |
refactor for GNUNET_memcmp
Diffstat (limited to 'src/wire-plugins')
-rw-r--r-- | src/wire-plugins/test_wire_plugin_transactions_taler-bank.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wire-plugins/test_wire_plugin_transactions_taler-bank.c b/src/wire-plugins/test_wire_plugin_transactions_taler-bank.c index da1d43c1a..4c2af52c4 100644 --- a/src/wire-plugins/test_wire_plugin_transactions_taler-bank.c +++ b/src/wire-plugins/test_wire_plugin_transactions_taler-bank.c @@ -207,9 +207,8 @@ history_result_cb GNUNET_SCHEDULER_shutdown (); return GNUNET_SYSERR; } - if (0 != memcmp (&wtid, - &details->wtid, - sizeof (struct TALER_WireTransferIdentifierRawP))) + if (0 != GNUNET_memcmp (&wtid, + &details->wtid)) { GNUNET_break (0); global_ret = GNUNET_SYSERR; |