summaryrefslogtreecommitdiff
path: root/auto_tests/tox_test.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-03-16 09:26:05 -0400
committerirungentoo <irungentoo@gmail.com>2015-03-16 09:26:05 -0400
commit2757b254fef9354feff7527d9209232654d58126 (patch)
treecc6705bbfd49e043dbe5bb6a377a1bf705f45c61 /auto_tests/tox_test.c
parent08585e5b60aeaf304701245ea7a1b7e3ce843e57 (diff)
parentfa7c21f95c78eabf3c0f0d247cd7f28ec47eff3d (diff)
Merge branch 'iphydf-new_api' into new_api
Diffstat (limited to 'auto_tests/tox_test.c')
-rw-r--r--auto_tests/tox_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/tox_test.c b/auto_tests/tox_test.c
index 467fa7cb..dc23040d 100644
--- a/auto_tests/tox_test.c
+++ b/auto_tests/tox_test.c
@@ -615,7 +615,7 @@ loop_top:
615 uint16_t counter = 0; 615 uint16_t counter = 0;
616 616
617 for (i = 0; i < NUM_TOXES; ++i) { 617 for (i = 0; i < NUM_TOXES; ++i) {
618 for (j = 0; j < tox_friend_list_size(toxes[i]); ++j) 618 for (j = 0; j < tox_self_get_friend_list_size(toxes[i]); ++j)
619 if (tox_friend_get_connection_status(toxes[i], j, 0) == TOX_CONNECTION_UDP) 619 if (tox_friend_get_connection_status(toxes[i], j, 0) == TOX_CONNECTION_UDP)
620 ++counter; 620 ++counter;
621 } 621 }