mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-27 02:02:26 +00:00
ssh2_set_window checks whether the channel is being closed, so there's no
need to check that before calling it. [originally from svn r7293]
This commit is contained in:
parent
8230ce9fa0
commit
f69a0cf005
1
ssh.c
1
ssh.c
@ -8927,7 +8927,6 @@ static void ssh_unthrottle(void *handle, int bufsize)
|
|||||||
ssh1_throttle(ssh, -1);
|
ssh1_throttle(ssh, -1);
|
||||||
}
|
}
|
||||||
} else {
|
} 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user