about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2020-09-03 00:19:58 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2020-09-03 00:19:58 +0000
commitf472add3a2f726597168bcfa3a886e6f8087c57d (patch)
treec20a5518f1727568b15e7553453ad1636889de65 /WWW/Library/Implementation
parent5308969168f28feb340b82be8f0417b4797f3104 (diff)
downloadlynx-snapshots-f472add3a2f726597168bcfa3a886e6f8087c57d.tar.gz
snapshot of project "lynx", label v2-9-0dev_5h
Diffstat (limited to 'WWW/Library/Implementation')
-rw-r--r--WWW/Library/Implementation/HTTCP.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/WWW/Library/Implementation/HTTCP.c b/WWW/Library/Implementation/HTTCP.c
index 2834c2c7..99022e02 100644
--- a/WWW/Library/Implementation/HTTCP.c
+++ b/WWW/Library/Implementation/HTTCP.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTTCP.c,v 1.155 2020/01/22 01:58:28 tom Exp $
+ * $LynxId: HTTCP.c,v 1.156 2020/09/03 00:05:23 Thorsten.Glaser Exp $
  *
  *			Generic Communication Code		HTTCP.c
  *			==========================
@@ -1848,6 +1848,8 @@ int HTDoConnect(const char *url,
     *s = -1;			/* nothing is open yet */
 
     /* In case of a present SOCKS5 proxy, marshal */
+    if (socks5_proxy == NULL)
+	socks5_proxy = LYGetEnv("SOCKS5_PROXY");
     if ((socks5_orig_url = socks5_proxy) != NULL) {
 	int xport;