refactor for GNUNET_memcmp

This commit is contained in:
ng0 2019-04-08 13:27:08 +00:00
parent d55c2acbd5
commit a5007df7e4
No known key found for this signature in database
GPG Key ID: E22F9BBFEE348588

View File

@ -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;