mirror of
https://github.com/rofl0r/proxychains-ng.git
synced 2024-10-31 17:18:47 +00:00
tunnel_to: use better suited type
This commit is contained in:
parent
40bb78b53f
commit
068e088a8b
@ -413,7 +413,7 @@ static int tunnel_to(int sock, ip_type ip, unsigned short port, proxy_type pt, c
|
|||||||
char in[2];
|
char in[2];
|
||||||
char out[515];
|
char out[515];
|
||||||
char *cur = out;
|
char *cur = out;
|
||||||
int c;
|
size_t c;
|
||||||
*cur++ = 1; // version
|
*cur++ = 1; // version
|
||||||
c = ulen & 0xFF;
|
c = ulen & 0xFF;
|
||||||
*cur++ = c;
|
*cur++ = c;
|
||||||
|
Loading…
Reference in New Issue
Block a user