mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +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