From 3004240462b480ca07bbe8360c700ac87b5c5964 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Sun, 8 Jul 2012 21:23:39 +0200 Subject: [PATCH] slightly better error message --- src/core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core.c b/src/core.c index 5e3f43a..b8fe08a 100644 --- a/src/core.c +++ b/src/core.c @@ -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 : ""); 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; }