summaryrefslogtreecommitdiff
path: root/auto_tests/tox_many_tcp_test.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-08-04 19:18:31 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-08-13 11:02:32 +0000
commita509d253240abd96665675fed7513f6cdeec04de (patch)
tree0f82af1686f6a2f9fd66759d97ac581fd875d29b /auto_tests/tox_many_tcp_test.c
parent97a4b8e6a74584a692aa8e92bd080c2e60ef04de (diff)
Fix some printf format specifiers.
Diffstat (limited to 'auto_tests/tox_many_tcp_test.c')
-rw-r--r--auto_tests/tox_many_tcp_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/tox_many_tcp_test.c b/auto_tests/tox_many_tcp_test.c
index 7ce2c9a5..b8343f74 100644
--- a/auto_tests/tox_many_tcp_test.c
+++ b/auto_tests/tox_many_tcp_test.c
@@ -63,7 +63,7 @@ START_TEST(test_many_clients_tcp)
63 uint8_t dpk[TOX_PUBLIC_KEY_SIZE]; 63 uint8_t dpk[TOX_PUBLIC_KEY_SIZE];
64 tox_self_get_dht_id(toxes[0], dpk); 64 tox_self_get_dht_id(toxes[0], dpk);
65 TOX_ERR_BOOTSTRAP error = TOX_ERR_BOOTSTRAP_OK; 65 TOX_ERR_BOOTSTRAP error = TOX_ERR_BOOTSTRAP_OK;
66 ck_assert_msg(tox_add_tcp_relay(toxes[i], TOX_LOCALHOST, TCP_RELAY_PORT, dpk, &error), "add relay error, %i, %i", i, 66 ck_assert_msg(tox_add_tcp_relay(toxes[i], TOX_LOCALHOST, TCP_RELAY_PORT, dpk, &error), "add relay error, %u, %d", i,
67 error); 67 error);
68 uint16_t first_port = tox_self_get_udp_port(toxes[0], nullptr); 68 uint16_t first_port = tox_self_get_udp_port(toxes[0], nullptr);
69 ck_assert_msg(tox_bootstrap(toxes[i], TOX_LOCALHOST, first_port, dpk, nullptr), "Bootstrap error"); 69 ck_assert_msg(tox_bootstrap(toxes[i], TOX_LOCALHOST, first_port, dpk, nullptr), "Bootstrap error");