summaryrefslogtreecommitdiff
path: root/auto_tests/toxav_many_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'auto_tests/toxav_many_test.c')
-rw-r--r--auto_tests/toxav_many_test.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/auto_tests/toxav_many_test.c b/auto_tests/toxav_many_test.c
index ab496024..d626067c 100644
--- a/auto_tests/toxav_many_test.c
+++ b/auto_tests/toxav_many_test.c
@@ -248,11 +248,11 @@ START_TEST(test_AV_three_calls)
248 uint8_t off = 1; 248 uint8_t off = 1;
249 249
250 while (1) { 250 while (1) {
251 tox_iterate(bootstrap); 251 tox_iterate(bootstrap, NULL);
252 tox_iterate(Alice); 252 tox_iterate(Alice, NULL);
253 tox_iterate(Bobs[0]); 253 tox_iterate(Bobs[0], NULL);
254 tox_iterate(Bobs[1]); 254 tox_iterate(Bobs[1], NULL);
255 tox_iterate(Bobs[2]); 255 tox_iterate(Bobs[2], NULL);
256 256
257 if (tox_self_get_connection_status(bootstrap) && 257 if (tox_self_get_connection_status(bootstrap) &&
258 tox_self_get_connection_status(Alice) && 258 tox_self_get_connection_status(Alice) &&
@@ -313,10 +313,10 @@ START_TEST(test_AV_three_calls)
313 time_t start_time = time(NULL); 313 time_t start_time = time(NULL);
314 314
315 while (time(NULL) - start_time < 5) { 315 while (time(NULL) - start_time < 5) {
316 tox_iterate(Alice); 316 tox_iterate(Alice, NULL);
317 tox_iterate(Bobs[0]); 317 tox_iterate(Bobs[0], NULL);
318 tox_iterate(Bobs[1]); 318 tox_iterate(Bobs[1], NULL);
319 tox_iterate(Bobs[2]); 319 tox_iterate(Bobs[2], NULL);
320 c_sleep(20); 320 c_sleep(20);
321 } 321 }
322 322