This commit is contained in:
shoopea 2019-06-09 22:29:28 +08:00
parent 52a5916c2d
commit a4268584c2

2
msg.go
View File

@ -327,7 +327,7 @@ func UnzipMessages(z []byte) error {
log.Printf("UnzipMessages : %d bytes.\n", len(z))
r := bytes.NewReader(z)
zr, err := zip.NewReader(r, int64(len(z)))
logOnError("UnzipMessages : NewReader")
logOnError(err, "UnzipMessages : NewReader")
if err != nil {
return err
}