aboutsummaryrefslogtreecommitdiffstats
path: root/WWW/Library
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2016-10-11 09:00:29 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2016-10-11 09:00:29 -0400
commit66c15ac4faa5911f76f1bd481930d58ea4770ae1 (patch)
tree6c6a87adb6bba0c5b58e508e13245822c29249e0 /WWW/Library
parent608f73d314977bda302ca77843fcf652ce05de6e (diff)
downloadlynx-snapshots-66c15ac4faa5911f76f1bd481930d58ea4770ae1.tar.gz
snapshot of project "lynx", label v2-8-9dev_9c
Diffstat (limited to 'WWW/Library')
-rw-r--r--WWW/Library/Implementation/HTTP.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTTP.c b/WWW/Library/Implementation/HTTP.c
index 925512d1..f266b029 100644
--- a/WWW/Library/Implementation/HTTP.c
+++ b/WWW/Library/Implementation/HTTP.c
@@ -1,5 +1,5 @@
/*
- * $LynxId: HTTP.c,v 1.153 2016/04/11 00:40:38 tom Exp $
+ * $LynxId: HTTP.c,v 1.154 2016/10/11 08:57:05 Al.Walker Exp $
*
* HyperText Tranfer Protocol - Client implementation HTTP.c
* ==========================
@@ -1979,7 +1979,7 @@ static int HTLoadHTTP(const char *arg,
* > 206 is unknown.
* All should return something to display.
*/
-#if defined(USE_SSL) && !defined(DISABLE_NEWS)
+#if defined(USE_SSL) /* && !defined(DISABLE_NEWS) _H */
if (do_connect) {
CTRACE((tfp,
"HTTP: Proxy tunnel to '%s' established.\n",
@@ -1988,6 +1988,7 @@ static int HTLoadHTTP(const char *arg,
url = connect_url;
FREE(line_buffer);
FREE(line_kept_clean);
+#ifndef DISABLE_NEWS
if (!StrNCmp(connect_url, "snews", 5)) {
CTRACE((tfp,
" Will attempt handshake and snews connection.\n"));
@@ -1995,6 +1996,7 @@ static int HTLoadHTTP(const char *arg,
format_out, sink);
goto done;
}
+#endif /* DISABLE_NEWS */
did_connect = TRUE;
already_retrying = TRUE;
eol = 0;