summaryrefslogtreecommitdiff
path: root/auto_tests/network_test.c
diff options
context:
space:
mode:
authorRoman Yepishev <rye@keypressure.com>2016-02-27 14:32:49 -0500
committerRoman Yepishev <rye@keypressure.com>2016-02-27 14:32:49 -0500
commitc886f906a8094b1c636446004162b9e0674923bd (patch)
tree18d45f262dc40de33e05b59e7f7d9550970cf13c /auto_tests/network_test.c
parent32d86978fd9894913c9acae70a96373bea45c8b7 (diff)
Move argument comments to the end of line
Diffstat (limited to 'auto_tests/network_test.c')
-rw-r--r--auto_tests/network_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/auto_tests/network_test.c b/auto_tests/network_test.c
index e3b47ea2..b88b0e8c 100644
--- a/auto_tests/network_test.c
+++ b/auto_tests/network_test.c
@@ -28,7 +28,7 @@ START_TEST(test_addr_resolv_localhost)
28 int localhost_split = 0; 28 int localhost_split = 0;
29 29
30 IP ip; 30 IP ip;
31 ip_init(&ip, /* ipv6? */ 0); 31 ip_init(&ip, 0); // ipv6enabled = 0
32 32
33 int res = addr_resolve(localhost, &ip, NULL); 33 int res = addr_resolve(localhost, &ip, NULL);
34 34
@@ -39,7 +39,7 @@ START_TEST(test_addr_resolv_localhost)
39 ck_assert_msg(ip.ip4.uint32 == htonl(0x7F000001), "Expected 127.0.0.1, got %s.", inet_ntoa(ip.ip4.in_addr)); 39 ck_assert_msg(ip.ip4.uint32 == htonl(0x7F000001), "Expected 127.0.0.1, got %s.", inet_ntoa(ip.ip4.in_addr));
40 } 40 }
41 41
42 ip_init(&ip, /* ipv6? */ 1); 42 ip_init(&ip, 1); // ipv6enabled = 1
43 res = addr_resolve(localhost, &ip, NULL); 43 res = addr_resolve(localhost, &ip, NULL);
44 44
45 if (!(res & TOX_ADDR_RESOLVE_INET6)) { 45 if (!(res & TOX_ADDR_RESOLVE_INET6)) {
@@ -55,7 +55,7 @@ START_TEST(test_addr_resolv_localhost)
55 } 55 }
56 56
57 if (!localhost_split) { 57 if (!localhost_split) {
58 ip_init(&ip, /* ipv6? */ 1); 58 ip_init(&ip, 1); // ipv6enabled = 1
59 ip.family = AF_UNSPEC; 59 ip.family = AF_UNSPEC;
60 IP extra; 60 IP extra;
61 ip_reset(&extra); 61 ip_reset(&extra);