aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_testing_topology_churn.c
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2011-07-25 14:27:33 +0000
committerNathan S. Evans <evans@in.tum.de>2011-07-25 14:27:33 +0000
commit08f1114108442793fb00dc443ed6b94b81c3b443 (patch)
treeec282bc9ef6963f2a9d6ff21e5b9f3db395bbd8a /src/testing/test_testing_topology_churn.c
parent91d1bc4750c36d7f3e996f483fe4bee7c242eb45 (diff)
downloadgnunet-08f1114108442793fb00dc443ed6b94b81c3b443.tar.gz
gnunet-08f1114108442793fb00dc443ed6b94b81c3b443.zip
churn a service
Diffstat (limited to 'src/testing/test_testing_topology_churn.c')
-rw-r--r--src/testing/test_testing_topology_churn.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testing/test_testing_topology_churn.c b/src/testing/test_testing_topology_churn.c
index f1d93fa46..b92288199 100644
--- a/src/testing/test_testing_topology_churn.c
+++ b/src/testing/test_testing_topology_churn.c
@@ -173,28 +173,28 @@ static void
173churn_peers_both () 173churn_peers_both ()
174{ 174{
175 churn_ctx.next_task = &finish_testing; 175 churn_ctx.next_task = &finish_testing;
176 GNUNET_TESTING_daemons_churn (pg, 1, 1, TIMEOUT, &churn_callback, NULL); 176 GNUNET_TESTING_daemons_churn (pg, NULL, 1, 1, TIMEOUT, &churn_callback, NULL);
177} 177}
178 178
179static void 179static void
180churn_peers_off_again () 180churn_peers_off_again ()
181{ 181{
182 churn_ctx.next_task = &churn_peers_both; 182 churn_ctx.next_task = &churn_peers_both;
183 GNUNET_TESTING_daemons_churn (pg, 2, 0, TIMEOUT, &churn_callback, NULL); 183 GNUNET_TESTING_daemons_churn (pg, NULL, 2, 0, TIMEOUT, &churn_callback, NULL);
184} 184}
185 185
186static void 186static void
187churn_peers_on () 187churn_peers_on ()
188{ 188{
189 churn_ctx.next_task = &churn_peers_off_again; 189 churn_ctx.next_task = &churn_peers_off_again;
190 GNUNET_TESTING_daemons_churn (pg, 0, 2, TIMEOUT, &churn_callback, NULL); 190 GNUNET_TESTING_daemons_churn (pg, NULL, 0, 2, TIMEOUT, &churn_callback, NULL);
191} 191}
192 192
193static void 193static void
194churn_peers_off () 194churn_peers_off ()
195{ 195{
196 churn_ctx.next_task = &churn_peers_on; 196 churn_ctx.next_task = &churn_peers_on;
197 GNUNET_TESTING_daemons_churn (pg, 2, 0, TIMEOUT, &churn_callback, NULL); 197 GNUNET_TESTING_daemons_churn (pg, NULL, 2, 0, TIMEOUT, &churn_callback, NULL);
198} 198}
199 199
200static void 200static void