summaryrefslogtreecommitdiffstats
path: root/WWW/Library/Implementation/HTTP.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:26:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:26:01 +0000
commitd7c9bf8bdc78b40ec91f15300c9558a5f79e803c (patch)
treef31ad4ad244bf5932be8048b3ef9dc6eacca0b7c /WWW/Library/Implementation/HTTP.c
parentAdding upstream version 2.9.1. (diff)
downloadlynx-d7c9bf8bdc78b40ec91f15300c9558a5f79e803c.tar.xz
lynx-d7c9bf8bdc78b40ec91f15300c9558a5f79e803c.zip
Adding upstream version 2.9.2.upstream/2.9.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'WWW/Library/Implementation/HTTP.c')
-rw-r--r--WWW/Library/Implementation/HTTP.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/WWW/Library/Implementation/HTTP.c b/WWW/Library/Implementation/HTTP.c
index bbcdf5d..c47d446 100644
--- a/WWW/Library/Implementation/HTTP.c
+++ b/WWW/Library/Implementation/HTTP.c
@@ -1,5 +1,5 @@
/*
- * $LynxId: HTTP.c,v 1.184 2023/07/23 20:02:58 tom Exp $
+ * $LynxId: HTTP.c,v 1.185 2024/05/29 21:02:14 tom Exp $
*
* HyperText Transfer Protocol - Client implementation HTTP.c
* ===========================
@@ -716,11 +716,7 @@ static BOOL acceptEncoding(int code)
default:
break;
}
- /*
- * FIXME: if lynx did not rely upon external programs to decompress
- * files for external viewers, this check could be relaxed.
- */
- result = (BOOL) (program != 0);
+ result = (BOOL) (program != NULL);
}
return result;
}