diff options
Diffstat (limited to 'auto_tests')
-rw-r--r-- | auto_tests/tox_test.c | 2 |
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 | } |