[master] 168fb22 Neuter a bit more of libvgz
Poul-Henning Kamp
phk at FreeBSD.org
Tue Mar 6 17:49:07 UTC 2018
commit 168fb22d4b90eb1d82b10b44bb407b0009049930
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Mar 6 17:47:38 2018 +0000
Neuter a bit more of libvgz
diff --git a/lib/libvgz/deflate.c b/lib/libvgz/deflate.c
index b40a64e..2a25447 100644
--- a/lib/libvgz/deflate.c
+++ b/lib/libvgz/deflate.c
@@ -833,6 +833,8 @@ int ZEXPORT deflate (strm, flush)
/* Write the header */
if (s->status == INIT_STATE) {
+#ifdef NOVGZ
+ abort();
/* zlib header */
uInt header = (Z_DEFLATED + ((s->w_bits-8)<<4)) << 8;
uInt level_flags;
@@ -865,6 +867,7 @@ int ZEXPORT deflate (strm, flush)
s->last_flush = -1;
return Z_OK;
}
+#endif
}
#ifdef GZIP
if (s->status == GZIP_STATE) {
More information about the varnish-commit
mailing list