tunnel_to: use better suited type

This commit is contained in:
rofl0r 2012-08-03 10:43:59 +02:00
parent 40bb78b53f
commit 068e088a8b

View File

@ -413,7 +413,7 @@ static int tunnel_to(int sock, ip_type ip, unsigned short port, proxy_type pt, c
char in[2];
char out[515];
char *cur = out;
int c;
size_t c;
*cur++ = 1; // version
c = ulen & 0xFF;
*cur++ = c;