diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-08-09 20:25:30 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-08-09 20:25:30 +0200 |
commit | d9474aab0ff6636962ca44dfb90d597203bd98df (patch) | |
tree | 8648492e18871a4241ca22618a5db579abaad6ad /src/exchange-lib | |
parent | a05859ad136ef0182c84507fb2b9c73f952b9e89 (diff) | |
download | exchange-d9474aab0ff6636962ca44dfb90d597203bd98df.tar.xz |
fix benchmark tool output and time measurement
Diffstat (limited to 'src/exchange-lib')
-rw-r--r-- | src/exchange-lib/testing_api_cmd_fakebank_transfer.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/exchange-lib/testing_api_cmd_fakebank_transfer.c b/src/exchange-lib/testing_api_cmd_fakebank_transfer.c index c7224ba3f..a24d24b06 100644 --- a/src/exchange-lib/testing_api_cmd_fakebank_transfer.c +++ b/src/exchange-lib/testing_api_cmd_fakebank_transfer.c @@ -152,6 +152,10 @@ add_incoming_cb (void *cls, if (MHD_HTTP_OK != http_status) { GNUNET_break (0); + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Fakebank returned HTTP status %u/%d\n", + http_status, + (int) ec); TALER_TESTING_interpreter_fail (is); return; } @@ -211,13 +215,13 @@ fakebank_transfer_run (void *cls, { if (NULL != fts->instance) { - GNUNET_assert (NULL != fts->config_filename); char *section; char *keys; struct GNUNET_CRYPTO_EddsaPrivateKey *priv; struct GNUNET_CONFIGURATION_Handle *cfg; - cfg = GNUNET_CONFIGURATION_create (); + GNUNET_assert (NULL != fts->config_filename); + cfg = GNUNET_CONFIGURATION_create (); if (GNUNET_OK != GNUNET_CONFIGURATION_load (cfg, fts->config_filename)) |