mirror of
https://github.com/rofl0r/proxychains-ng
synced 2025-01-08 06:02:51 +08:00
allocator_thread.c: whitespace cleanup
This commit is contained in:
parent
dbec605e2c
commit
9f17774b99
@ -116,9 +116,9 @@ static ip_type4 ip_from_internal_list(char* name, size_t len) {
|
|||||||
|
|
||||||
internal_ips->list[internal_ips->counter] = new_mem;
|
internal_ips->list[internal_ips->counter] = new_mem;
|
||||||
internal_ips->list[internal_ips->counter]->hash = hash;
|
internal_ips->list[internal_ips->counter]->hash = hash;
|
||||||
|
|
||||||
new_mem = dumpstring((char*) name, len + 1);
|
new_mem = dumpstring((char*) name, len + 1);
|
||||||
|
|
||||||
if(!new_mem) {
|
if(!new_mem) {
|
||||||
internal_ips->list[internal_ips->counter] = 0;
|
internal_ips->list[internal_ips->counter] = 0;
|
||||||
goto oom;
|
goto oom;
|
||||||
@ -131,7 +131,7 @@ static ip_type4 ip_from_internal_list(char* name, size_t len) {
|
|||||||
|
|
||||||
return res;
|
return res;
|
||||||
err_plus_unlock:
|
err_plus_unlock:
|
||||||
|
|
||||||
PDEBUG("return err\n");
|
PDEBUG("return err\n");
|
||||||
return ip_type_invalid.addr.v4;
|
return ip_type_invalid.addr.v4;
|
||||||
}
|
}
|
||||||
@ -244,7 +244,7 @@ static void* threadfunc(void* x) {
|
|||||||
(void) x;
|
(void) x;
|
||||||
int ret;
|
int ret;
|
||||||
struct at_msghdr msg;
|
struct at_msghdr msg;
|
||||||
union {
|
union {
|
||||||
char host[MSG_LEN_MAX];
|
char host[MSG_LEN_MAX];
|
||||||
ip_type4 ip;
|
ip_type4 ip;
|
||||||
} readbuf;
|
} readbuf;
|
||||||
|
Loading…
Reference in New Issue
Block a user