summaryrefslogtreecommitdiff
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
parentd55c2acbd5fd399b73401e755b2812ef407971e8 (diff)
downloadexchange-a5007df7e41aff159d0404408e10af930c615a48.tar.gz
exchange-a5007df7e41aff159d0404408e10af930c615a48.tar.bz2
exchange-a5007df7e41aff159d0404408e10af930c615a48.zip
refactor for GNUNET_memcmp
-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 da1d43c1..4c2af52c 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;