diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-15 22:33:49 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-15 22:33:49 +0200 |
commit | cd5fafffe22608d3d9ec6c620417ecdbd6c076d3 (patch) | |
tree | 02d04097ef86ec334b387e320809cf27e3d3d1f1 /src/testing/testing_api_cmd_reserve_status.c | |
parent | 5b14fd547e0f1497d62cdc92c27af9ddf19b6105 (diff) |
-get taler-exchange-benchmark to work
Diffstat (limited to 'src/testing/testing_api_cmd_reserve_status.c')
-rw-r--r-- | src/testing/testing_api_cmd_reserve_status.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testing/testing_api_cmd_reserve_status.c b/src/testing/testing_api_cmd_reserve_status.c index 001582ed..2438b2c2 100644 --- a/src/testing/testing_api_cmd_reserve_status.c +++ b/src/testing/testing_api_cmd_reserve_status.c @@ -122,7 +122,7 @@ analyze_command (void *cls, if (TALER_TESTING_cmd_is_batch (cmd)) { struct TALER_TESTING_Command *cur; - struct TALER_TESTING_Command **bcmd; + struct TALER_TESTING_Command *bcmd; cur = TALER_TESTING_cmd_batch_get_current (cmd); if (GNUNET_OK != @@ -133,9 +133,9 @@ analyze_command (void *cls, ac->failure = true; return; } - for (unsigned int i = 0; NULL != (*bcmd)[i].label; i++) + for (unsigned int i = 0; NULL != bcmd[i].label; i++) { - struct TALER_TESTING_Command *step = &(*bcmd)[i]; + struct TALER_TESTING_Command *step = &bcmd[i]; if (step == cur) break; /* if *we* are in a batch, make sure not to analyze commands past 'now' */ |