diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-05-07 14:21:40 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-05-07 14:21:40 +0200 |
commit | 56786aea5a4dbdc80f257539e801176fc0697a3b (patch) | |
tree | db52b0b203ea69e32fb3ea061ab35f0adf46b677 /src/exchange/taler-exchange-httpd_responses.c | |
parent | 0e73c0d4513a360ba3b5bcbe70ef4aeb59f68e3c (diff) | |
download | exchange-56786aea5a4dbdc80f257539e801176fc0697a3b.tar.gz exchange-56786aea5a4dbdc80f257539e801176fc0697a3b.tar.bz2 exchange-56786aea5a4dbdc80f257539e801176fc0697a3b.zip |
adjust test to work with real bank (now fails)
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_responses.c | 10 |
1 files changed, 5 insertions, 5 deletions
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)) { |