diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-07-25 14:27:33 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-07-25 14:27:33 +0000 |
commit | 08f1114108442793fb00dc443ed6b94b81c3b443 (patch) | |
tree | ec282bc9ef6963f2a9d6ff21e5b9f3db395bbd8a /src/testing/test_testing_topology_churn.c | |
parent | 91d1bc4750c36d7f3e996f483fe4bee7c242eb45 (diff) | |
download | gnunet-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.c | 8 |
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 | |||
173 | churn_peers_both () | 173 | churn_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 | ||
179 | static void | 179 | static void |
180 | churn_peers_off_again () | 180 | churn_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 | ||
186 | static void | 186 | static void |
187 | churn_peers_on () | 187 | churn_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 | ||
193 | static void | 193 | static void |
194 | churn_peers_off () | 194 | churn_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 | ||
200 | static void | 200 | static void |