From cbf46fa1e94adce82df337d0c4351f164ba327fa Mon Sep 17 00:00:00 2001 From: skywind3000 Date: Sun, 23 Feb 2020 00:04:57 +0800 Subject: [PATCH] fixed: window recovery is unefficient (by @dearplain) --- ikcp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ikcp.c b/ikcp.c index aac14bf..45c127d 100644 --- a/ikcp.c +++ b/ikcp.c @@ -887,8 +887,6 @@ int ikcp_input(ikcpcb *kcp, const char *data, long size) #else kcp->cwnd++; #endif - } else { - } } } if (kcp->cwnd > kcp->rmt_wnd) {