[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] 02/03: Refactor for GNUNET_memcmp
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] 02/03: Refactor for GNUNET_memcmp |
Date: |
Wed, 17 Apr 2019 21:27:26 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository exchange.
commit ee9cff3555f62535115a0712e6846f67542ac78d
Author: ng0 <address@hidden>
AuthorDate: Wed Apr 17 19:25:24 2019 +0000
Refactor for GNUNET_memcmp
---
src/exchange/taler-exchange-httpd_deposit.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_deposit.c
b/src/exchange/taler-exchange-httpd_deposit.c
index 2aaa3c74..0cc16c25 100644
--- a/src/exchange/taler-exchange-httpd_deposit.c
+++ b/src/exchange/taler-exchange-httpd_deposit.c
@@ -467,9 +467,8 @@ TEH_DEPOSIT_handler_deposit (struct TEH_RequestHandler *rh,
TALER_EC_DEPOSIT_INVALID_WIRE_FORMAT_JSON,
"wire");
}
- if (0 != memcmp (&deposit.h_wire,
- &my_h_wire,
- sizeof (struct GNUNET_HashCode)))
+ if (0 != GNUNET_memcmp (&deposit.h_wire,
+ &my_h_wire))
{
/* Client hashed contract differently than we did, reject */
GNUNET_JSON_parse_free (spec);
--
To stop receiving notification emails like this one, please contact
address@hidden