change API

pull/314/head
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
1 changed files with 1 additions and 1 deletions

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
}