mirror of
https://github.com/impact-eintr/netstack.git
synced 2025-10-05 12:56:55 +08:00
fdbased test
This commit is contained in:
@@ -28,5 +28,5 @@ func (p *Prependable) Prepend(size int) []byte {
|
||||
return nil
|
||||
}
|
||||
p.usedIdx -= size
|
||||
return p.View()[:size:size] // p.buf[p.usedIdx:size:size]
|
||||
return p.View()[:size:size] // p.buf[p.usedIdx:p.usedIdx+size:size]
|
||||
}
|
||||
|
Reference in New Issue
Block a user