diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-03-20 02:39:12 +0100 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-03-20 02:39:12 +0100 |
commit | c83892ba29526280431f781b3fae16ee24beac39 (patch) | |
tree | 1e0b63ba5ca0a16c7be81d47bec8aaf048dd1a3f /src | |
parent | 69927847cc6af79b97cfdd2e45e5acd28f1ffee2 (diff) | |
download | exchange-c83892ba29526280431f781b3fae16ee24beac39.tar.xz |
-style fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/exchange_api_reserves_get.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/exchange_api_reserves_get.c b/src/lib/exchange_api_reserves_get.c index 3bdfbd287..a25350e5b 100644 --- a/src/lib/exchange_api_reserves_get.c +++ b/src/lib/exchange_api_reserves_get.c @@ -79,7 +79,7 @@ struct TALER_EXCHANGE_ReservesGetHandle * @param j JSON response * @return #GNUNET_OK on success */ -static int +static enum GNUNET_GenericReturnValue handle_reserves_get_ok (struct TALER_EXCHANGE_ReservesGetHandle *rgh, const json_t *j) { @@ -88,7 +88,8 @@ handle_reserves_get_ok (struct TALER_EXCHANGE_ReservesGetHandle *rgh, struct TALER_Amount balance; struct TALER_Amount balance_from_history; struct GNUNET_JSON_Specification spec[] = { - TALER_JSON_spec_amount_any ("balance", &balance), + TALER_JSON_spec_amount_any ("balance", + &balance), GNUNET_JSON_spec_end () }; struct TALER_EXCHANGE_HttpResponse hr = { |