summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-07-29 16:35:54 -0400
committerirungentoo <irungentoo@gmail.com>2014-07-29 16:35:54 -0400
commit9a74e5d0581e2ce954e365aec470551785dbb844 (patch)
treee4a0e5a93bea5ca88a42fb013f0911eafe49bcec
parent8be8d846860d9fd8ad6dd4e2735b5cb57b64d5a0 (diff)
parent87dd6becf78597ef3c82014a0f8199e51b43a525 (diff)
Merge branch 'master' of https://github.com/pyruvate/toxcore
-rw-r--r--auto_tests/tox_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/tox_test.c b/auto_tests/tox_test.c
index 1a3c5868..8d4d6c4b 100644
--- a/auto_tests/tox_test.c
+++ b/auto_tests/tox_test.c
@@ -294,11 +294,11 @@ START_TEST(test_many_clients)
294 long long unsigned int cur_time = time(NULL); 294 long long unsigned int cur_time = time(NULL);
295 Tox *toxes[NUM_TOXES]; 295 Tox *toxes[NUM_TOXES];
296 uint32_t i, j; 296 uint32_t i, j;
297 uint32_t to_comp = 974536;
297 298
298 for (i = 0; i < NUM_TOXES; ++i) { 299 for (i = 0; i < NUM_TOXES; ++i) {
299 toxes[i] = tox_new(TOX_ENABLE_IPV6_DEFAULT); 300 toxes[i] = tox_new(TOX_ENABLE_IPV6_DEFAULT);
300 ck_assert_msg(toxes[i] != 0, "Failed to create tox instances %u", i); 301 ck_assert_msg(toxes[i] != 0, "Failed to create tox instances %u", i);
301 uint32_t to_comp = 974536;
302 tox_callback_friend_request(toxes[i], accept_friend_request, &to_comp); 302 tox_callback_friend_request(toxes[i], accept_friend_request, &to_comp);
303 } 303 }
304 304