mirror of
https://github.com/golang/go
synced 2024-11-22 05:34:39 -07:00
compress/flate: undo misuse of skipNever
I assume this was a too aggressive search-and-replace. R=imkrasin CC=golang-dev https://golang.org/cl/5580047
This commit is contained in:
parent
e451fb8ffb
commit
cb34f5c357
@ -102,7 +102,7 @@ func (d *compressor) fillDeflate(b []byte) int {
|
|||||||
if d.blockStart >= windowSize {
|
if d.blockStart >= windowSize {
|
||||||
d.blockStart -= windowSize
|
d.blockStart -= windowSize
|
||||||
} else {
|
} else {
|
||||||
d.blockStart = skipNever
|
d.blockStart = math.MaxInt32
|
||||||
}
|
}
|
||||||
d.hashOffset += windowSize
|
d.hashOffset += windowSize
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user