forked from mirror/brotli
Rest set writer.err=nil
This commit is contained in:
parent
cf8bc3b664
commit
ec682fbe0a
|
@ -61,6 +61,7 @@ func (w *Writer) Reset(dst io.Writer) {
|
||||||
w.params.lgwin = uint(w.options.LGWin)
|
w.params.lgwin = uint(w.options.LGWin)
|
||||||
}
|
}
|
||||||
w.dst = dst
|
w.dst = dst
|
||||||
|
w.err = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w *Writer) writeChunk(p []byte, op int) (n int, err error) {
|
func (w *Writer) writeChunk(p []byte, op int) (n int, err error) {
|
||||||
|
|
Loading…
Reference in New Issue