summaryrefslogtreecommitdiff
path: root/auto_tests/toxav_many_test.c
diff options
context:
space:
mode:
authorDubslow <bunslow@gmail.com>2015-03-11 17:26:25 -0500
committerDubslow <bunslow@gmail.com>2015-03-12 18:23:14 -0500
commit3bf259f69d408dc5c380383ee3c0cde0504e9f02 (patch)
tree233e633e173516968f450c15438b37a366d1c42e /auto_tests/toxav_many_test.c
parent91274495bc1e24bbab039e0e468be14fa34caf23 (diff)
Convert core code depending on the api
Diffstat (limited to 'auto_tests/toxav_many_test.c')
-rw-r--r--auto_tests/toxav_many_test.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/auto_tests/toxav_many_test.c b/auto_tests/toxav_many_test.c
index 4002c4e7..f22043e1 100644
--- a/auto_tests/toxav_many_test.c
+++ b/auto_tests/toxav_many_test.c
@@ -294,11 +294,11 @@ START_TEST(test_AV_three_calls)
294 uint8_t off = 1; 294 uint8_t off = 1;
295 295
296 while (1) { 296 while (1) {
297 tox_iteration(bootstrap_node); 297 tox_iterate(bootstrap_node);
298 tox_iteration(caller); 298 tox_iterate(caller);
299 299
300 for (i = 0; i < 3; i ++) { 300 for (i = 0; i < 3; i ++) {
301 tox_iteration(callees[i]); 301 tox_iterate(callees[i]);
302 } 302 }
303 303
304 304
@@ -351,11 +351,11 @@ START_TEST(test_AV_three_calls)
351 while (call_running[0] || call_running[1] || call_running[2]) { 351 while (call_running[0] || call_running[1] || call_running[2]) {
352 pthread_mutex_lock(&muhmutex); 352 pthread_mutex_lock(&muhmutex);
353 353
354 tox_iteration(bootstrap_node); 354 tox_iterate(bootstrap_node);
355 tox_iteration(caller); 355 tox_iterate(caller);
356 tox_iteration(callees[0]); 356 tox_iterate(callees[0]);
357 tox_iteration(callees[1]); 357 tox_iterate(callees[1]);
358 tox_iteration(callees[2]); 358 tox_iterate(callees[2]);
359 359
360 for ( i = 0; i < 3; i++ ) 360 for ( i = 0; i < 3; i++ )
361 toxav_do(status_control.calls[0].Caller.av); 361 toxav_do(status_control.calls[0].Caller.av);