test
This commit is contained in:
parent
367b5826eb
commit
333f4c86bb
2
msg.go
2
msg.go
@ -326,7 +326,7 @@ func zipMessages() ([]byte, error) {
|
|||||||
func UnzipMessages(z []byte) error {
|
func UnzipMessages(z []byte) error {
|
||||||
log.Printf("UnzipMessages : %d bytes.\n", len(z))
|
log.Printf("UnzipMessages : %d bytes.\n", len(z))
|
||||||
r := bytes.NewReader(z)
|
r := bytes.NewReader(z)
|
||||||
zr, err := zip.NewReader(r, len(z))
|
zr, err := zip.NewReader(r, int64(len(z)))
|
||||||
|
|
||||||
for _, f := range zr.File {
|
for _, f := range zr.File {
|
||||||
log.Printf("File : %s\n", f.Name)
|
log.Printf("File : %s\n", f.Name)
|
||||||
|
Loading…
Reference in New Issue
Block a user