This commit is contained in:
黄思敏
2022-08-30 11:28:49 +08:00
parent bebad295ad
commit 83ccfab5c7

View File

@@ -265,7 +265,6 @@ func (nc *NetCard) runWrite() {
if err != nil {
log.Panic(err)
}
zdec.Close()
dec := gob.NewDecoder(buf)
var bufs [][]byte
@@ -274,6 +273,8 @@ func (nc *NetCard) runWrite() {
log.Panic(err)
}
zdec.Close()
for _, buf := range bufs {
h := md5.New()
h.Write(buf)