summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_stat.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-10-27 22:28:52 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-27 22:28:52 +0200
commit0996b83a651507f713043fb0477f10e7b0a15fc4 (patch)
tree9eb2a64e9305b191f105b2e41970d2a7c0378667 /src/testing/testing_api_cmd_stat.c
parent382fb837bd43ec7de93c8e17404732b4c95ccaca (diff)
downloadexchange-0996b83a651507f713043fb0477f10e7b0a15fc4.tar.gz
exchange-0996b83a651507f713043fb0477f10e7b0a15fc4.tar.bz2
exchange-0996b83a651507f713043fb0477f10e7b0a15fc4.zip
libtalertesting compiles
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
{