aboutsummaryrefslogtreecommitdiff
path: root/src/wire-plugins
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-04-08 13:27:08 +0000
committerng0 <ng0@n0.is>2019-04-08 14:58:21 +0000
commita5007df7e41aff159d0404408e10af930c615a48 (patch)
treeb1c3cb06b4a460c021188fb3229e80595d0a5f51 /src/wire-plugins
parentd55c2acbd5fd399b73401e755b2812ef407971e8 (diff)
refactor for GNUNET_memcmp
Diffstat (limited to 'src/wire-plugins')
-rw-r--r--src/wire-plugins/test_wire_plugin_transactions_taler-bank.c5
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;