exchange

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

commit b48013bd561e5f10bef55091f320356fd5fa6f6f
parent 3e191f3b080f692bbb80c66f5c24736955f3f46d
Author: Florian Dold <florian.dold@gmail.com>
Date:   Tue,  3 Apr 2018 23:31:18 +0200

fix compiler warning

Diffstat:
Msrc/exchange-lib/testing_api_cmd_track.c | 11+++++------
1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/exchange-lib/testing_api_cmd_track.c b/src/exchange-lib/testing_api_cmd_track.c @@ -519,16 +519,15 @@ track_transfer_cb return; } - switch (http_status) - { - - if ( - (NULL == tts->expected_total_amount) || - (NULL == tts->expected_wire_fee)) + if ( (NULL == tts->expected_total_amount) || + (NULL == tts->expected_wire_fee) ) GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Expected amount and fee not specified, " "likely to segfault...\n"); + + switch (http_status) + { case MHD_HTTP_OK: if (GNUNET_OK != TALER_string_to_amount (tts->expected_total_amount,