summaryrefslogtreecommitdiff
path: root/src/htslib.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-05-19 16:02:04 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-05-19 16:02:04 +0000
commit1433170ef4e88c4c433fd25df3864973e0e62a54 (patch)
tree1f34282f7ad759f6c8025b42f3048e6249ec7e24 /src/htslib.c
parent063acf016081ae9c2b096595564f0399f6ea19b5 (diff)
removed gz_is_available flag (zlib is mandatory)
Diffstat (limited to 'src/htslib.c')
-rw-r--r--src/htslib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htslib.c b/src/htslib.c
index eb20aae..fe9f240 100644
--- a/src/htslib.c
+++ b/src/htslib.c
@@ -1103,7 +1103,7 @@ int http_sendhead(httrackp * opt, t_cookie * cookie, int mode, char *xsend,
if (retour->req.http11) {
#if HTS_USEZLIB
//strcatbuff(buff,"Accept-Encoding: gzip, deflate, compress, identity"H_CRLF);
- if (gz_is_available && (!retour->req.range_used)
+ if ((!retour->req.range_used)
&& (!retour->req.nocompression))
strcatbuff(buff, "Accept-Encoding: " "gzip" /* gzip if the preffered encoding */
", " "identity;q=0.9" H_CRLF);