]> git.lizzy.rs Git - zlib.git/blobdiff - gzguts.h
Avoid adding empty gzip member after gzflush with Z_FINISH.
[zlib.git] / gzguts.h
index 6378d468a258b134420c2434f62de8f0d3fb42ea..fc712dc4d6fc6b8f2d36db01125ce76212c82534 100644 (file)
--- a/gzguts.h
+++ b/gzguts.h
@@ -190,6 +190,7 @@ typedef struct {
         /* just for writing */
     int level;              /* compression level */
     int strategy;           /* compression strategy */
+    int reset;              /* true if a reset is pending after a Z_FINISH */
         /* seek request */
     z_off64_t skip;         /* amount to skip (already rewound if backwards) */
     int seek;               /* true if seek request pending */