This commit is contained in:
黄思敏
2022-08-30 11:44:48 +08:00
parent 3125dbb804
commit 36c4f0edc2

View File

@@ -265,7 +265,6 @@ func (nc *NetCard) runWrite() {
if err != nil {
log.Panic(err)
}
zdec.Close()
dec := gob.NewDecoder(zdec)
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)