exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 44aaaf9e933fc11998fae276ed2b958fdae265b7
parent e75afb316484e7a55f913f6584d2a528918223f4
Author: Florian Dold <florian.dold@gmail.com>
Date:   Fri,  8 Dec 2017 17:07:20 +0100

set error code correctly, removes compiler warning

Diffstat:
Msrc/bank-lib/bank_api_history.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/bank-lib/bank_api_history.c b/src/bank-lib/bank_api_history.c @@ -174,6 +174,7 @@ handle_history_finished (void *cls, switch (response_code) { case 0: + ec = TALER_EC_INTERNAL_INVARIANT_FAILURE; break; case MHD_HTTP_OK: if (GNUNET_OK != @@ -186,6 +187,7 @@ handle_history_finished (void *cls, break; } response_code = MHD_HTTP_NO_CONTENT; /* signal end of list */ + ec = TALER_EC_NONE; break; case MHD_HTTP_NO_CONTENT: ec = TALER_EC_NONE;