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;
|
const struct TALER_EXCHANGEDB_DenominationKeyIssueInformation *exp = cls;
|
||||||
|
|
||||||
if (0 != memcmp (&exp->issue,
|
if (0 != GNUNET_memcmp (&exp->issue,
|
||||||
&dki->issue,
|
&dki->issue))
|
||||||
sizeof (struct TALER_EXCHANGEDB_DenominationKeyInformationP)))
|
|
||||||
{
|
{
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
|
Loading…
Reference in New Issue
Block a user