|
@@ -355,7 +355,7 @@ test_socks_5_supported_commands(void *ptr)
|
|
ADD_DATA(buf, "[2001:0db8:85a3:0000:0000:8a2e:0370:7334]");
|
|
ADD_DATA(buf, "[2001:0db8:85a3:0000:0000:8a2e:0370:7334]");
|
|
ADD_DATA(buf, "\x01\x02");
|
|
ADD_DATA(buf, "\x01\x02");
|
|
tt_int_op(fetch_from_buf_socks(buf, socks, get_options()->TestSocks, 1),
|
|
tt_int_op(fetch_from_buf_socks(buf, socks, get_options()->TestSocks, 1),
|
|
- OP_EQ, -1);
|
|
|
|
|
|
+ OP_EQ, 1);
|
|
|
|
|
|
tt_str_op("[2001:0db8:85a3:0000:0000:8a2e:0370:7334]", OP_EQ,
|
|
tt_str_op("[2001:0db8:85a3:0000:0000:8a2e:0370:7334]", OP_EQ,
|
|
socks->address);
|
|
socks->address);
|