summaryrefslogtreecommitdiff
path: root/auto_tests/tcp_relay_test.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-10-08 21:05:14 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-10-09 17:33:37 +0000
commit605dfe882c52bfad4dee9678a69e4b816d93431d (patch)
tree10432adc5d3716cb28b833c6e156218b67c23494 /auto_tests/tcp_relay_test.c
parent77e025fae48a4f9cf6cf19a359b6c423545f3cc7 (diff)
Consistently use camel case enum names.
Including in tests and implementation files.
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);