summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_responses.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-15 22:24:15 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-15 22:24:15 +0100
commitefdc91ead4a74afb9b858ea3377bbf5581aabb0d (patch)
tree30be70823b36f128565f28b1f676bc4d88dc3f02 /src/exchange/taler-exchange-httpd_responses.c
parentf29a7e31558e28a6612a4cc73f0b25309135046f (diff)
downloadexchange-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.c24
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 e2a20243..cd03ba76 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;