diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-04-15 12:20:00 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-04-15 12:20:00 +0200 |
commit | 202827ebdaafdf33b78c202bcbb6917dd65dd1c1 (patch) | |
tree | b5689b28c58e1698dff0f296dbe78ec432430512 /src/exchange-lib/testing_api_cmd_track.c | |
parent | aea82d3dcde94b68a70a65be8736cf7ad437b0c7 (diff) | |
parent | 1b3bf1a00126baffd016676ad1d668637b8b2efe (diff) | |
download | exchange-202827ebdaafdf33b78c202bcbb6917dd65dd1c1.tar.gz exchange-202827ebdaafdf33b78c202bcbb6917dd65dd1c1.tar.bz2 exchange-202827ebdaafdf33b78c202bcbb6917dd65dd1c1.zip |
merging Florian's changes with my wire changes
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_track.c')
-rw-r--r-- | src/exchange-lib/testing_api_cmd_track.c | 11 |
1 files 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 index 638329d69..d4f9805a5 100644 --- a/src/exchange-lib/testing_api_cmd_track.c +++ b/src/exchange-lib/testing_api_cmd_track.c @@ -518,16 +518,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, |