aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_socks.c
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2014-10-23 02:35:46 +1100
committerteor <teor2345@gmail.com>2014-10-23 02:57:11 +1100
commitc9d0967dd9b236254f2f461b7dab3909ee826351 (patch)
tree92119287269fdce390b249d2c69cd0bbe95c1e6b /src/test/test_socks.c
parent67fdfcf27c874a64e30776d2e3d2469d0711d9ee (diff)
downloadtor-c9d0967dd9b236254f2f461b7dab3909ee826351.tar.gz
tor-c9d0967dd9b236254f2f461b7dab3909ee826351.zip
Fix minor typos, two line lengths, and a repeated include
Diffstat (limited to 'src/test/test_socks.c')
-rw-r--r--src/test/test_socks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_socks.c b/src/test/test_socks.c
index 9aaa16e081..dea5f52b8b 100644
--- a/src/test/test_socks.c
+++ b/src/test/test_socks.c
@@ -392,7 +392,8 @@ test_socks_5_malformed_commands(void *ptr)
/* XXX: Stringified address length > MAX_SOCKS_ADDR_LEN will never happen */
- /* SOCKS 5 Send CONNECT [01] to IP address 2.2.2.2:4369, with SafeSocks set */
+ /** SOCKS 5 Send CONNECT [01] to IP address 2.2.2.2:4369, with SafeSocks set
+ */
ADD_DATA(buf, "\x05\x01\x00");
ADD_DATA(buf, "\x05\x01\x00\x01\x02\x02\x02\x02\x11\x11");
tt_int_op(fetch_from_buf_socks(buf, socks, get_options()->TestSocks, 1),==,