Refactor test_exchangedb_denomkeys.c for GNUNET_memcmp
This commit is contained in:
parent
04acf37cb6
commit
5ec20870a4
@ -49,9 +49,8 @@ dki_iter (void *cls,
|
||||
{
|
||||
const struct TALER_EXCHANGEDB_DenominationKeyIssueInformation *exp = cls;
|
||||
|
||||
if (0 != memcmp (&exp->issue,
|
||||
&dki->issue,
|
||||
sizeof (struct TALER_EXCHANGEDB_DenominationKeyInformationP)))
|
||||
if (0 != GNUNET_memcmp (&exp->issue,
|
||||
&dki->issue))
|
||||
{
|
||||
GNUNET_break (0);
|
||||
return GNUNET_SYSERR;
|
||||
|
Loading…
Reference in New Issue
Block a user