From 66c15ac4faa5911f76f1bd481930d58ea4770ae1 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Tue, 11 Oct 2016 09:00:29 -0400 Subject: snapshot of project "lynx", label v2-8-9dev_9c --- WWW/Library/Implementation/HTTP.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'WWW/Library/Implementation/HTTP.c') 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; -- cgit 1.4.1-2-gfad0