aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/exchange_api_reserve.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/exchange_api_reserve.c b/src/lib/exchange_api_reserve.c
index 9c0ff6d7a..4aa5794fa 100644
--- a/src/lib/exchange_api_reserve.c
+++ b/src/lib/exchange_api_reserve.c
@@ -238,9 +238,8 @@ parse_reserve_history (struct TALER_EXCHANGE_Handle *exchange,
&uuid[uuid_off]);
for (i=0;i<uuid_off;i++)
{
- if (0 == memcmp (&uuid[uuid_off],
- &uuid[i],
- sizeof (struct GNUNET_HashCode)))
+ if (0 == GNUNET_memcmp (&uuid[uuid_off],
+ &uuid[i]))
{
GNUNET_break_op (0);
GNUNET_JSON_parse_free (withdraw_spec);