summaryrefslogtreecommitdiff
path: root/auto_tests/tcp_relay_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'auto_tests/tcp_relay_test.c')
-rw-r--r--auto_tests/tcp_relay_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/tcp_relay_test.c b/auto_tests/tcp_relay_test.c
index f2035f35..79387291 100644
--- a/auto_tests/tcp_relay_test.c
+++ b/auto_tests/tcp_relay_test.c
@@ -36,7 +36,7 @@ int main(void)
36 c_sleep(ITERATION_INTERVAL); 36 c_sleep(ITERATION_INTERVAL);
37 } while (tox_self_get_connection_status(tox_tcp) == TOX_CONNECTION_NONE); 37 } while (tox_self_get_connection_status(tox_tcp) == TOX_CONNECTION_NONE);
38 38
39 const TOX_CONNECTION status = tox_self_get_connection_status(tox_tcp); 39 const Tox_Connection status = tox_self_get_connection_status(tox_tcp);
40 ck_assert_msg(status == TOX_CONNECTION_TCP, 40 ck_assert_msg(status == TOX_CONNECTION_TCP,
41 "expected TCP connection, but got %d", status); 41 "expected TCP connection, but got %d", status);
42 printf("Connection (TCP): %d\n", status); 42 printf("Connection (TCP): %d\n", status);