gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] 01/05: Refactor testing_api_cmd_payback fo


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] 01/05: Refactor testing_api_cmd_payback for GNUNET_memcmp
Date: Wed, 10 Apr 2019 22:52:01 +0200

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

ng0 pushed a commit to branch master
in repository exchange.

commit 7bebb3c7800ae236ecab3ceaec35b9778b3061a0
Author: ng0 <address@hidden>
AuthorDate: Wed Apr 10 20:48:04 2019 +0000

    Refactor testing_api_cmd_payback for GNUNET_memcmp
---
 src/lib/testing_api_cmd_payback.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/testing_api_cmd_payback.c 
b/src/lib/testing_api_cmd_payback.c
index dd8652ae..9b49108c 100644
--- a/src/lib/testing_api_cmd_payback.c
+++ b/src/lib/testing_api_cmd_payback.c
@@ -188,8 +188,7 @@ payback_cb (void *cls,
       TALER_TESTING_interpreter_fail (is);
       return;
     }
-    if (0 != memcmp (reserve_pub, &rp,
-                     sizeof (struct TALER_ReservePublicKeyP)))
+    if (0 != GNUNET_memcmp (reserve_pub, &rp))
     {
       GNUNET_break (0);
       TALER_TESTING_interpreter_fail (is);

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



reply via email to

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