1
0
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:
Darien Raymond 2016-12-08 22:49:24 +01:00
parent 30d886fd6f
commit 40249dfacb
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -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
}