X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/accc77cbbcdd332dceb8c9713d0ce0196eb863da..f5c578b08c147e3a0c9a67c75ed57a7ddb7e20dd:/ssh.c diff --git a/ssh.c b/ssh.c index d4d3d06a..1d17882e 100644 --- a/ssh.c +++ b/ssh.c @@ -8927,8 +8927,7 @@ static void ssh_unthrottle(void *handle, int bufsize) ssh1_throttle(ssh, -1); } } else { - if (ssh->mainchan && ssh->mainchan->closes == 0) - ssh2_set_window(ssh->mainchan, OUR_V2_WINSIZE - bufsize); + ssh2_set_window(ssh->mainchan, OUR_V2_WINSIZE - bufsize); } }