[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 01/02: better types/scoping/indentation
From: |
gnunet |
Subject: |
[taler-exchange] 01/02: better types/scoping/indentation |
Date: |
Wed, 01 Apr 2020 23:12:04 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 5b78fbc63121e77f8ce210b62093e7434616ccc4
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Apr 1 23:11:56 2020 +0200
better types/scoping/indentation
---
src/lib/exchange_api_common.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/lib/exchange_api_common.c b/src/lib/exchange_api_common.c
index 661c68c6..5c56f527 100644
--- a/src/lib/exchange_api_common.c
+++ b/src/lib/exchange_api_common.c
@@ -56,7 +56,6 @@ TALER_EXCHANGE_parse_reserve_history (
unsigned int uuid_off;
struct TALER_Amount total_in;
struct TALER_Amount total_out;
- size_t off;
GNUNET_assert (GNUNET_OK ==
TALER_amount_get_zero (currency,
@@ -65,13 +64,14 @@ TALER_EXCHANGE_parse_reserve_history (
TALER_amount_get_zero (currency,
&total_out));
uuid_off = 0;
- for (off = 0; off<history_length; off++)
+ for (unsigned int off = 0; off<history_length; off++)
{
json_t *transaction;
struct TALER_Amount amount;
const char *type;
struct GNUNET_JSON_Specification hist_spec[] = {
- GNUNET_JSON_spec_string ("type", &type),
+ GNUNET_JSON_spec_string ("type",
+ &type),
TALER_JSON_spec_amount ("amount",
&amount),
/* 'wire' and 'signature' are optional depending on 'type'! */
--
To stop receiving notification emails like this one, please contact
address@hidden.