summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_stat.c')
-rw-r--r--src/testing/testing_api_cmd_stat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testing/testing_api_cmd_stat.c b/src/testing/testing_api_cmd_stat.c
index d74e9bb2c..5d41c05c9 100644
--- a/src/testing/testing_api_cmd_stat.c
+++ b/src/testing/testing_api_cmd_stat.c
@@ -83,7 +83,7 @@ do_stat (struct TALER_TESTING_Timer *timings,
{
if (TALER_TESTING_cmd_is_batch (cmd))
{
- struct TALER_TESTING_Command *bcmd;
+ struct TALER_TESTING_Command **bcmd;
if (GNUNET_OK !=
TALER_TESTING_get_trait_batch_cmds (cmd,
@@ -94,10 +94,10 @@ do_stat (struct TALER_TESTING_Timer *timings,
}
for (unsigned int j = 0;
- NULL != bcmd[j].label;
+ NULL != (*bcmd)[j].label;
j++)
do_stat (timings,
- &bcmd[j]);
+ &(*bcmd)[j]);
}
else
{