diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-15 22:24:15 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-15 22:24:15 +0100 |
commit | efdc91ead4a74afb9b858ea3377bbf5581aabb0d (patch) | |
tree | 30be70823b36f128565f28b1f676bc4d88dc3f02 /src/exchange/taler-exchange-httpd_responses.c | |
parent | f29a7e31558e28a6612a4cc73f0b25309135046f (diff) | |
download | exchange-efdc91ead4a74afb9b858ea3377bbf5581aabb0d.tar.gz exchange-efdc91ead4a74afb9b858ea3377bbf5581aabb0d.tar.bz2 exchange-efdc91ead4a74afb9b858ea3377bbf5581aabb0d.zip |
clean up link logic
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_responses.c | 24 |
1 files changed, 11 insertions, 13 deletions
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; |