slightly better error message

This commit is contained in:
rofl0r 2012-07-08 21:23:39 +02:00
parent 364c785970
commit 3004240462

View File

@ -279,6 +279,8 @@ static int tunnel_to(int sock, ip_type ip, unsigned short port, proxy_type pt, c
if(!dns_len)
goto err;
}
PDEBUG("host dns %s\n", dns_name ? dns_name : "<NULL>");
size_t ulen = strlen(user);
size_t passlen = strlen(pass);
@ -616,7 +618,7 @@ static int chain_step(int ns, proxy_data * pfrom, proxy_data * pto) {
break;
case SOCKET_ERROR:
pto->ps = DOWN_STATE;
proxychains_write_log("<--timeout\n");
proxychains_write_log("<--socket error or timeout!\n");
close(ns);
break;
}