From 490f77b4a05ee548ce433157e3e52001ff3f5828 Mon Sep 17 00:00:00 2001 From: v2ray Date: Sun, 3 Jul 2016 00:00:43 +0200 Subject: [PATCH] cleanup --- transport/internet/kcp/sending.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/transport/internet/kcp/sending.go b/transport/internet/kcp/sending.go index 6a8ca78b4..efe0cd61f 100644 --- a/transport/internet/kcp/sending.go +++ b/transport/internet/kcp/sending.go @@ -108,10 +108,7 @@ func (this *SendingWindow) Flush() bool { } current := this.kcp.current - resent := uint32(this.kcp.fastresend) - if this.kcp.fastresend <= 0 { - resent = 0xffffffff - } + resent := this.kcp.fastresend lost := false segSent := false