diff options
-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 = { |