commit 5ec20870a495cad72e561b154862454844ea57d3 parent 04acf37cb643faff487668805590a12a0fb4dda1 Author: ng0 <ng0@n0.is> Date: Mon, 8 Apr 2019 20:42:05 +0000 Refactor test_exchangedb_denomkeys.c for GNUNET_memcmp Diffstat:
| M | src/exchangedb/test_exchangedb_denomkeys.c | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/exchangedb/test_exchangedb_denomkeys.c b/src/exchangedb/test_exchangedb_denomkeys.c @@ -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;