From cd5fafffe22608d3d9ec6c620417ecdbd6c076d3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 15 Jul 2023 22:33:49 +0200 Subject: -get taler-exchange-benchmark to work --- src/testing/testing_api_cmd_reserve_history.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/testing/testing_api_cmd_reserve_history.c') 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); -- cgit v1.2.3