diff options
author | iphydf <iphydf@users.noreply.github.com> | 2015-03-16 02:25:06 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2015-03-16 13:12:25 +0000 |
commit | fa7c21f95c78eabf3c0f0d247cd7f28ec47eff3d (patch) | |
tree | cc6705bbfd49e043dbe5bb6a377a1bf705f45c61 /auto_tests | |
parent | 08585e5b60aeaf304701245ea7a1b7e3ce843e57 (diff) |
New API fixups.
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 | } |