From 56786aea5a4dbdc80f257539e801176fc0697a3b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 7 May 2017 14:21:40 +0200 Subject: adjust test to work with real bank (now fails) --- src/exchange/taler-exchange-httpd_responses.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 0d7406451..9ce9bb811 100644 --- a/src/exchange/taler-exchange-httpd_responses.c +++ b/src/exchange/taler-exchange-httpd_responses.c @@ -48,7 +48,7 @@ TEH_RESPONSE_add_global_headers (struct MHD_Response *response) } -/** +/** * Is HTTP body deflate compression supported by the client? * * @param connection connection to check @@ -75,7 +75,7 @@ TEH_RESPONSE_can_compress (struct MHD_Connection *connection) ( (de[strlen ("deflate")] == '\0') || (de[strlen ("deflate")] == ',') ) ) return MHD_YES; - return MHD_NO; + return MHD_NO; } @@ -525,7 +525,7 @@ static json_t * compile_transaction_history (const struct TALER_EXCHANGEDB_TransactionList *tl) { json_t *history; - + history = json_array (); if (NULL == history) { @@ -650,7 +650,7 @@ compile_transaction_history (const struct TALER_EXCHANGEDB_TransactionList *tl) json_decref (history); return NULL; } - + GNUNET_assert (0 == json_array_append_new (history, json_pack ("{s:s, s:o, s:o, s:o, s:o, s:I, s:o}", @@ -779,7 +779,7 @@ compile_reserve_history (const struct TALER_EXCHANGEDB_ReserveHistory *rh, { struct GNUNET_HashCode h_denom_pub; struct TALER_Amount value; - + value = pos->details.withdraw->amount_with_fee; if (0 == (2 & ret)) { -- cgit v1.2.3