summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_loop.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_loop.c
parent382fb837bd43ec7de93c8e17404732b4c95ccaca (diff)
downloadexchange-0996b83a651507f713043fb0477f10e7b0a15fc4.tar.gz
exchange-0996b83a651507f713043fb0477f10e7b0a15fc4.tar.bz2
exchange-0996b83a651507f713043fb0477f10e7b0a15fc4.zip
libtalertesting compiles
Diffstat (limited to 'src/testing/testing_api_loop.c')
-rw-r--r--src/testing/testing_api_loop.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c
index 0de4230e..f86c7765 100644
--- a/src/testing/testing_api_loop.c
+++ b/src/testing/testing_api_loop.c
@@ -66,7 +66,7 @@ TALER_TESTING_interpreter_lookup_command (struct TALER_TESTING_Interpreter *is,
if (TALER_TESTING_cmd_is_batch (cmd))
{
- struct TALER_TESTING_Command *batch;
+ struct TALER_TESTING_Command **batch;
struct TALER_TESTING_Command *current;
struct TALER_TESTING_Command *icmd;
const struct TALER_TESTING_Command *match;
@@ -78,7 +78,7 @@ TALER_TESTING_interpreter_lookup_command (struct TALER_TESTING_Interpreter *is,
/* We must do the loop forward, but we can find the last match */
match = NULL;
for (unsigned int j = 0;
- NULL != (icmd = &batch[j])->label;
+ NULL != (icmd = &(*batch)[j])->label;
j++)
{
if (current == icmd)
@@ -381,7 +381,6 @@ maint_child_death (void *cls)
sizeof (c)));
if (GNUNET_OK !=
TALER_TESTING_get_trait_process (cmd,
- 0,
&processp))
{
GNUNET_break (0);