diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-01-19 11:56:03 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-01-19 11:56:03 -0500 |
commit | 2e8b8c8698a326597a07020e2f29a79948094f0e (patch) | |
tree | f83bc1312909e0834d7ac87f6c07fb6044e9d888 /src/test/test_entryconn.c | |
parent | f92b01b9635eb2655a449529d6e7eb30a46bb29f (diff) | |
download | tor-2e8b8c8698a326597a07020e2f29a79948094f0e.tar.gz tor-2e8b8c8698a326597a07020e2f29a79948094f0e.zip |
Make check-spaces happier.
Diffstat (limited to 'src/test/test_entryconn.c')
-rw-r--r-- | src/test/test_entryconn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_entryconn.c b/src/test/test_entryconn.c index 7e0757f9e8..6edc166743 100644 --- a/src/test/test_entryconn.c +++ b/src/test/test_entryconn.c @@ -617,7 +617,8 @@ test_entryconn_rewrite_mapaddress_automap_onion(void *arg) tt_int_op(rr.automap, OP_EQ, 0); tt_int_op(rr.should_close, OP_EQ, 0); tt_int_op(rr.end_reason, OP_EQ, 0); - tt_assert(!strcmpstart(ec3->socks_request->address, "abcdefghijklmnop.onion")); + tt_assert(!strcmpstart(ec3->socks_request->address, + "abcdefghijklmnop.onion")); /* Now resolve abcefghijklmnop.onion. */ strlcpy(ec4->socks_request->address, "abcdefghijklmnop.onion", @@ -633,7 +634,7 @@ test_entryconn_rewrite_mapaddress_automap_onion(void *arg) tt_str_op(rr.orig_address, OP_EQ, "abcdefghijklmnop.onion"); tt_assert(!strcmpstart(ec4->socks_request->address, "192.168.")); /* XXXX doesn't work - tt_str_op(ec4->socks_request->address, OP_EQ, ec2->socks_request->address); + tt_str_op(ec4->socks_request->address, OP_EQ, ec2->socks_request->address); */ done: @@ -742,7 +743,6 @@ test_entryconn_rewrite_mapaddress_automap_onion4(void *arg) test_entryconn_rewrite_mapaddress_automap_onion_common(arg, 0, 1); } - #define REWRITE(name) \ { #name, test_entryconn_##name, TT_FORK, &test_rewrite_setup, NULL } |