gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-exchange] branch master updated: Refactor test_excha


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: Refactor test_exchangedb_denomkeys.c for GNUNET_memcmp
Date: Mon, 08 Apr 2019 22:42:13 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 5ec20870 Refactor test_exchangedb_denomkeys.c for GNUNET_memcmp
5ec20870 is described below

commit 5ec20870a495cad72e561b154862454844ea57d3
Author: ng0 <address@hidden>
AuthorDate: Mon Apr 8 20:42:05 2019 +0000

    Refactor test_exchangedb_denomkeys.c for GNUNET_memcmp
---
 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
index b558b3b3..1b63f234 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;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]