diff options
Diffstat (limited to 'src/testing/testing_api_cmd_block_until_all_peers_started.c')
-rw-r--r-- | src/testing/testing_api_cmd_block_until_all_peers_started.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testing/testing_api_cmd_block_until_all_peers_started.c b/src/testing/testing_api_cmd_block_until_all_peers_started.c index 8a47a7ce0..763713e15 100644 --- a/src/testing/testing_api_cmd_block_until_all_peers_started.c +++ b/src/testing/testing_api_cmd_block_until_all_peers_started.c | |||
@@ -39,6 +39,11 @@ | |||
39 | struct BlockState | 39 | struct BlockState |
40 | { | 40 | { |
41 | /** | 41 | /** |
42 | * Context for our asynchronous completion. | ||
43 | */ | ||
44 | struct GNUNET_TESTING_AsyncContext ac; | ||
45 | |||
46 | /** | ||
42 | * Flag to indicate if all peers have started. | 47 | * Flag to indicate if all peers have started. |
43 | * | 48 | * |
44 | */ | 49 | */ |
@@ -93,6 +98,7 @@ GNUNET_TESTING_cmd_block_until_all_peers_started (const char *label, | |||
93 | .cls = bs, | 98 | .cls = bs, |
94 | .label = label, | 99 | .label = label, |
95 | .run = &block_until_all_peers_started_run, | 100 | .run = &block_until_all_peers_started_run, |
101 | .ac = &bs->ac, | ||
96 | .cleanup = &block_until_all_peers_started_cleanup | 102 | .cleanup = &block_until_all_peers_started_cleanup |
97 | }; | 103 | }; |
98 | 104 | ||