diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2015-10-12 21:13:01 +0300 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2015-10-24 14:30:52 +0300 |
commit | bb8ec2e1c61e7083cda37845ad40bc0997a16901 (patch) | |
tree | 66cb92ca5f19b695bfab1a062a108a59d20b6320 /src/test/test_dns.c | |
parent | 72bd192d80f8fed04c35f1a34b0e762562a41c48 (diff) | |
download | tor-bb8ec2e1c61e7083cda37845ad40bc0997a16901.tar.gz tor-bb8ec2e1c61e7083cda37845ad40bc0997a16901.zip |
Whitespace fixes.
Diffstat (limited to 'src/test/test_dns.c')
-rw-r--r-- | src/test/test_dns.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_dns.c b/src/test/test_dns.c index 510fec12a5..f316de2821 100644 --- a/src/test/test_dns.c +++ b/src/test/test_dns.c @@ -342,7 +342,7 @@ create_valid_exitconn(void) /* * Given that <b>exitconn->base_.address</b> is IP address string, we - * want dns_resolve_impl() to parse it and store in + * want dns_resolve_impl() to parse it and store in * <b>exitconn->base_.addr</b>. We expect dns_resolve_impl to return 1. * Lastly, we want it to set the TTL value to default one for DNS queries. */ @@ -361,7 +361,7 @@ NS(test_main)(void *arg) edge_connection_t *exitconn = create_valid_exitconn(); - TO_CONN(exitconn)->address = tor_strdup("8.8.8.8"); + TO_CONN(exitconn)->address = tor_strdup("8.8.8.8"); retval = dns_resolve_impl(exitconn, 1, on_circ, NULL, &made_pending, NULL); @@ -371,7 +371,7 @@ NS(test_main)(void *arg) tt_int_op(retval,==,1); tt_assert(tor_addr_eq(resolved_addr, (const tor_addr_t *)&addr_to_compare)); tt_int_op(exitconn->address_ttl,==,DEFAULT_DNS_TTL); - + done: tor_free(on_circ); tor_free(TO_CONN(exitconn)->address); @@ -401,7 +401,7 @@ NS(test_main)(void *arg) edge_connection_t *exitconn = create_valid_exitconn(); or_circuit_t *on_circ = tor_malloc_zero(sizeof(or_circuit_t)); - TO_CONN(exitconn)->address = tor_strdup("torproject.org"); + TO_CONN(exitconn)->address = tor_strdup("torproject.org"); NS_MOCK(router_my_exit_policy_is_reject_star); |