1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2025-01-08 22:22:52 +08:00

buff is unsigned char now

This commit is contained in:
rofl0r 2011-11-06 15:47:00 +01:00
parent 4cb2cf3416
commit d5ae1f9202

View File

@ -368,7 +368,7 @@ static int tunnel_to(int sock, ip_type ip, unsigned short port, proxy_type pt,ch
goto err; goto err;
if (buff[0] != 5 || (buff[1] != 0 && buff[1] != 2)) { if (buff[0] != 5 || (buff[1] != 0 && buff[1] != 2)) {
if(buff[0] == 5 && buff[1] ==(char)0xFF) if(buff[0] == 5 && buff[1] == 0xFF)
return BLOCKED; return BLOCKED;
else else
goto err; goto err;