diff options
Diffstat (limited to 'src/compress/flate/deflate.go')
-rw-r--r-- | src/compress/flate/deflate.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compress/flate/deflate.go b/src/compress/flate/deflate.go index ea343b2298..0e07afab7d 100644 --- a/src/compress/flate/deflate.go +++ b/src/compress/flate/deflate.go @@ -87,7 +87,6 @@ type compressor struct { // compression algorithm fill func(*compressor, []byte) int // copy data to window step func(*compressor) // process window - sync bool // requesting flush bestSpeed *deflateFast // Encoder for BestSpeed // Input hash chains @@ -107,6 +106,8 @@ type compressor struct { blockStart int // window index where current tokens start byteAvailable bool // if true, still need to process window[index-1]. + sync bool // requesting flush + // queued output tokens tokens []token |