-style fixes

This commit is contained in:
Christian Grothoff 2022-03-20 02:39:12 +01:00
parent 69927847cc
commit c83892ba29
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -79,7 +79,7 @@ struct TALER_EXCHANGE_ReservesGetHandle
* @param j JSON response * @param j JSON response
* @return #GNUNET_OK on success * @return #GNUNET_OK on success
*/ */
static int static enum GNUNET_GenericReturnValue
handle_reserves_get_ok (struct TALER_EXCHANGE_ReservesGetHandle *rgh, handle_reserves_get_ok (struct TALER_EXCHANGE_ReservesGetHandle *rgh,
const json_t *j) 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;
struct TALER_Amount balance_from_history; struct TALER_Amount balance_from_history;
struct GNUNET_JSON_Specification spec[] = { struct GNUNET_JSON_Specification spec[] = {
TALER_JSON_spec_amount_any ("balance", &balance), TALER_JSON_spec_amount_any ("balance",
&balance),
GNUNET_JSON_spec_end () GNUNET_JSON_spec_end ()
}; };
struct TALER_EXCHANGE_HttpResponse hr = { struct TALER_EXCHANGE_HttpResponse hr = {