This commit is contained in:
irungentoo 2014-07-29 16:35:54 -04:00
commit 9a74e5d058
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -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);
} }