aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_barrier_reached.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_barrier_reached.c')
-rw-r--r--src/testing/testing_api_cmd_barrier_reached.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testing/testing_api_cmd_barrier_reached.c b/src/testing/testing_api_cmd_barrier_reached.c
index 43bf86398..c5b0b692e 100644
--- a/src/testing/testing_api_cmd_barrier_reached.c
+++ b/src/testing/testing_api_cmd_barrier_reached.c
@@ -50,7 +50,7 @@ struct BarrierReachedState
50 const char *label; 50 const char *label;
51 51
52 /** 52 /**
53 * The name of the barrier this commands wait (if finishing asynchronous) for or/and reaches. 53 * The name of the barrier this commands wait (if finishing asynchronous) for or/and reaches.
54 */ 54 */
55 const char *barrier_name; 55 const char *barrier_name;
56 56
@@ -103,6 +103,10 @@ barrier_reached_run (void *cls,
103 } 103 }
104 else if (GNUNET_NO == brs->asynchronous_finish) 104 else if (GNUNET_NO == brs->asynchronous_finish)
105 { 105 {
106 /** FIXME: This is already fishy as commands in is are an array
107 * It is unclear how this does not end up with a DLL issue.
108 * We should create a dedicated struct to hold this list.
109 */
106 cmd = GNUNET_TESTING_interpreter_get_current_command (is); 110 cmd = GNUNET_TESTING_interpreter_get_current_command (is);
107 GNUNET_CONTAINER_DLL_insert (barrier->cmds_head, 111 GNUNET_CONTAINER_DLL_insert (barrier->cmds_head,
108 barrier->cmds_tail, 112 barrier->cmds_tail,