mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge branch 'master' of https://github.com/pyruvate/toxcore
This commit is contained in:
commit
9a74e5d058
|
@ -294,11 +294,11 @@ START_TEST(test_many_clients)
|
||||||
long long unsigned int cur_time = time(NULL);
|
long long unsigned int cur_time = time(NULL);
|
||||||
Tox *toxes[NUM_TOXES];
|
Tox *toxes[NUM_TOXES];
|
||||||
uint32_t i, j;
|
uint32_t i, j;
|
||||||
|
uint32_t to_comp = 974536;
|
||||||
|
|
||||||
for (i = 0; i < NUM_TOXES; ++i) {
|
for (i = 0; i < NUM_TOXES; ++i) {
|
||||||
toxes[i] = tox_new(TOX_ENABLE_IPV6_DEFAULT);
|
toxes[i] = tox_new(TOX_ENABLE_IPV6_DEFAULT);
|
||||||
ck_assert_msg(toxes[i] != 0, "Failed to create tox instances %u", i);
|
ck_assert_msg(toxes[i] != 0, "Failed to create tox instances %u", i);
|
||||||
uint32_t to_comp = 974536;
|
|
||||||
tox_callback_friend_request(toxes[i], accept_friend_request, &to_comp);
|
tox_callback_friend_request(toxes[i], accept_friend_request, &to_comp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user