mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-10-24 10:27:41 +00:00
change API
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user