aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-04-08 20:42:05 +0000
committerng0 <ng0@n0.is>2019-04-08 20:42:05 +0000
commit5ec20870a495cad72e561b154862454844ea57d3 (patch)
tree03e7d64a1db91b871668af893907914563ec7af5 /src/exchangedb
parent04acf37cb643faff487668805590a12a0fb4dda1 (diff)
Refactor test_exchangedb_denomkeys.c for GNUNET_memcmp
Diffstat (limited to 'src/exchangedb')
-rw-r--r--src/exchangedb/test_exchangedb_denomkeys.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/exchangedb/test_exchangedb_denomkeys.c b/src/exchangedb/test_exchangedb_denomkeys.c
index b558b3b3b..1b63f2342 100644
--- 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;