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 (); GNUNET_SCHEDULER_shutdown ();
return GNUNET_SYSERR; return GNUNET_SYSERR;
} }
if (0 != memcmp (&wtid, if (0 != GNUNET_memcmp (&wtid,
&details->wtid, &details->wtid))
sizeof (struct TALER_WireTransferIdentifierRawP)))
{ {
GNUNET_break (0); GNUNET_break (0);
global_ret = GNUNET_SYSERR; global_ret = GNUNET_SYSERR;