测试
This commit is contained in:
parent
bebad295ad
commit
83ccfab5c7
|
@ -265,7 +265,6 @@ func (nc *NetCard) runWrite() {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Panic(err)
|
log.Panic(err)
|
||||||
}
|
}
|
||||||
zdec.Close()
|
|
||||||
|
|
||||||
dec := gob.NewDecoder(buf)
|
dec := gob.NewDecoder(buf)
|
||||||
var bufs [][]byte
|
var bufs [][]byte
|
||||||
|
@ -274,6 +273,8 @@ func (nc *NetCard) runWrite() {
|
||||||
log.Panic(err)
|
log.Panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
zdec.Close()
|
||||||
|
|
||||||
for _, buf := range bufs {
|
for _, buf := range bufs {
|
||||||
h := md5.New()
|
h := md5.New()
|
||||||
h.Write(buf)
|
h.Write(buf)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user