mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 06:33:44 +01:00
untabify. This should hold it.
svn:r2646
This commit is contained in:
parent
ad4dc74482
commit
509c0bdc22
@ -46,8 +46,8 @@
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
build_socks4a_resolve_request(char **out,
|
build_socks4a_resolve_request(char **out,
|
||||||
const char *username,
|
const char *username,
|
||||||
const char *hostname)
|
const char *hostname)
|
||||||
{
|
{
|
||||||
size_t len;
|
size_t len;
|
||||||
tor_assert(out);
|
tor_assert(out);
|
||||||
@ -68,7 +68,7 @@ build_socks4a_resolve_request(char **out,
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
parse_socks4a_resolve_response(const char *response, size_t len,
|
parse_socks4a_resolve_response(const char *response, size_t len,
|
||||||
uint32_t *addr_out)
|
uint32_t *addr_out)
|
||||||
{
|
{
|
||||||
uint8_t status;
|
uint8_t status;
|
||||||
tor_assert(response);
|
tor_assert(response);
|
||||||
@ -90,7 +90,7 @@ parse_socks4a_resolve_response(const char *response, size_t len,
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
do_resolve(const char *hostname, uint32_t sockshost, uint16_t socksport,
|
do_resolve(const char *hostname, uint32_t sockshost, uint16_t socksport,
|
||||||
uint32_t *result_addr)
|
uint32_t *result_addr)
|
||||||
{
|
{
|
||||||
int s;
|
int s;
|
||||||
struct sockaddr_in socksaddr;
|
struct sockaddr_in socksaddr;
|
||||||
|
Loading…
Reference in New Issue
Block a user