From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 12 Aug 2015 10:37:11 +0000 (+0000)
Subject: translate_socks5_error(): Improve SOCKS5_REQUEST_HOST_UNREACHABLE translation
X-Git-Tag: v_3_0_24~90
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/@default-cgi@edit-actions-remove-url-form?a=commitdiff_plain;h=1c005bcfe63756223ed44e736f42e97248354980;p=privoxy.git

translate_socks5_error(): Improve SOCKS5_REQUEST_HOST_UNREACHABLE translation

... to make it more obvious that it's the destination
host that is unreachable and not the host running the
socks server.
---

diff --git a/gateway.c b/gateway.c
index 60f2aa20..e42fec79 100644
--- a/gateway.c
+++ b/gateway.c
@@ -1,4 +1,4 @@
-const char gateway_rcs[] = "$Id: gateway.c,v 1.93 2012/12/07 12:45:20 fabiankeil Exp $";
+const char gateway_rcs[] = "$Id: gateway.c,v 1.94 2015/06/18 15:26:40 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/gateway.c,v $
@@ -894,7 +894,7 @@ static const char *translate_socks5_error(int socks_error)
       case SOCKS5_REQUEST_NETWORK_UNREACHABLE:
          return "SOCKS5 network unreachable";
       case SOCKS5_REQUEST_HOST_UNREACHABLE:
-         return "SOCKS5 host unreachable";
+         return "SOCKS5 destination host unreachable";
       case SOCKS5_REQUEST_CONNECTION_REFUSED:
          return "SOCKS5 connection refused";
       case SOCKS5_REQUEST_TTL_EXPIRED: