aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_loop.c')
-rw-r--r--src/testing/testing_api_loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c
index 290311c59..36e9da220 100644
--- a/src/testing/testing_api_loop.c
+++ b/src/testing/testing_api_loop.c
@@ -123,9 +123,9 @@ get_command (struct GNUNET_TESTING_Interpreter *is,
123 if (GNUNET_TESTING_cmd_is_batch_ (cmd)) 123 if (GNUNET_TESTING_cmd_is_batch_ (cmd))
124 { 124 {
125#define BATCH_INDEX 1 125#define BATCH_INDEX 1
126 struct GNUNET_TESTING_Command *batch; 126 const struct GNUNET_TESTING_Command *batch;
127 struct GNUNET_TESTING_Command *current; 127 struct GNUNET_TESTING_Command *current;
128 struct GNUNET_TESTING_Command *icmd; 128 const struct GNUNET_TESTING_Command *icmd;
129 const struct GNUNET_TESTING_Command *match; 129 const struct GNUNET_TESTING_Command *match;
130 130
131 current = GNUNET_TESTING_cmd_batch_get_current_ (cmd); 131 current = GNUNET_TESTING_cmd_batch_get_current_ (cmd);