diff options
author | ng0 <ng0@n0.is> | 2019-04-08 18:51:48 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-04-08 18:51:48 +0000 |
commit | 1aa9d9fee6d73d2edcc4b95ecb184e98dcc81b1d (patch) | |
tree | 6eb0cfaa4790133f6e8c0d4c76f333f3ba8a147f /src/lib | |
parent | 8c591b4f1a16d5d2668d8684bb477dd5a2b3d74a (diff) |
Refactor lib/exchange_api_reserve.c for GNUNET_memcmp
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/exchange_api_reserve.c | 5 |
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); |