slightly better error message

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

View File

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