From efdc91ead4a74afb9b858ea3377bbf5581aabb0d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 15 Mar 2020 22:24:15 +0100 Subject: clean up link logic --- src/exchange/taler-exchange-httpd_responses.c | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'src/exchange/taler-exchange-httpd_responses.c') diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c index e2a20243d..cd03ba767 100644 --- a/src/exchange/taler-exchange-httpd_responses.c +++ b/src/exchange/taler-exchange-httpd_responses.c @@ -39,10 +39,9 @@ * @return json representation of the @a rh, NULL on error */ json_t * -TEH_RESPONSE_compile_transaction_history (const struct - TALER_CoinSpendPublicKeyP *coin_pub, - const struct - TALER_EXCHANGEDB_TransactionList *tl) +TEH_RESPONSE_compile_transaction_history ( + const struct TALER_CoinSpendPublicKeyP *coin_pub, + const struct TALER_EXCHANGEDB_TransactionList *tl) { json_t *history; @@ -421,12 +420,11 @@ TEH_RESPONSE_compile_transaction_history (const struct * @return MHD result code */ int -TEH_RESPONSE_reply_coin_insufficient_funds (struct MHD_Connection *connection, - enum TALER_ErrorCode ec, - const struct - TALER_CoinSpendPublicKeyP *coin_pub, - const struct - TALER_EXCHANGEDB_TransactionList *tl) +TEH_RESPONSE_reply_coin_insufficient_funds ( + struct MHD_Connection *connection, + enum TALER_ErrorCode ec, + const struct TALER_CoinSpendPublicKeyP *coin_pub, + const struct TALER_EXCHANGEDB_TransactionList *tl) { json_t *history; @@ -458,9 +456,9 @@ TEH_RESPONSE_reply_coin_insufficient_funds (struct MHD_Connection *connection, * @return json representation of the @a rh, NULL on error */ json_t * -TEH_RESPONSE_compile_reserve_history (const struct - TALER_EXCHANGEDB_ReserveHistory *rh, - struct TALER_Amount *balance) +TEH_RESPONSE_compile_reserve_history ( + const struct TALER_EXCHANGEDB_ReserveHistory *rh, + struct TALER_Amount *balance) { struct TALER_Amount deposit_total; struct TALER_Amount withdraw_total; -- cgit v1.2.3