From fa7c21f95c78eabf3c0f0d247cd7f28ec47eff3d Mon Sep 17 00:00:00 2001 From: iphydf Date: Mon, 16 Mar 2015 02:25:06 +0000 Subject: New API fixups. --- auto_tests/tox_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto_tests/tox_test.c') 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: uint16_t counter = 0; for (i = 0; i < NUM_TOXES; ++i) { - for (j = 0; j < tox_friend_list_size(toxes[i]); ++j) + for (j = 0; j < tox_self_get_friend_list_size(toxes[i]); ++j) if (tox_friend_get_connection_status(toxes[i], j, 0) == TOX_CONNECTION_UDP) ++counter; } -- cgit v1.2.3