mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-02-20 23:47:21 -05:00
change API
This commit is contained in:
parent
30d886fd6f
commit
40249dfacb
@ -88,7 +88,7 @@ func (v *SendingWindow) Clear(una uint32) {
|
||||
}
|
||||
|
||||
func (v *SendingWindow) Remove(idx uint32) bool {
|
||||
if v.len == 0 {
|
||||
if v.IsEmpty() {
|
||||
return false
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user