aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_reserve_history.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-15 22:33:49 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-15 22:33:49 +0200
commitcd5fafffe22608d3d9ec6c620417ecdbd6c076d3 (patch)
tree02d04097ef86ec334b387e320809cf27e3d3d1f1 /src/testing/testing_api_cmd_reserve_history.c
parent5b14fd547e0f1497d62cdc92c27af9ddf19b6105 (diff)
-get taler-exchange-benchmark to work
Diffstat (limited to 'src/testing/testing_api_cmd_reserve_history.c')
-rw-r--r--src/testing/testing_api_cmd_reserve_history.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testing/testing_api_cmd_reserve_history.c b/src/testing/testing_api_cmd_reserve_history.c
index a7df69e6..ff0a8a55 100644
--- a/src/testing/testing_api_cmd_reserve_history.c
+++ b/src/testing/testing_api_cmd_reserve_history.c
@@ -131,7 +131,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 !=
@@ -142,9 +142,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];
analyze_command (ac,
step);