Refactor rres

This commit is contained in:
Milan Nikolic 2017-11-29 11:58:55 +01:00
parent 8cd17bd7a9
commit e9123b8b25
2 changed files with 94 additions and 74 deletions

View file

@ -442,7 +442,7 @@ func compress(data []byte, compType int) ([]byte, error) {
case rres.CompDeflate:
buf := new(bytes.Buffer)
w, err := flate.NewWriter(buf, flate.BestCompression)
w, err := flate.NewWriter(buf, flate.DefaultCompression)
if err != nil {
return nil, err
}