mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-10 17:25:51 +00:00
Compare server window size with uint zero.
This commit is contained in:
@@ -773,7 +773,7 @@ namespace Renci.SshNet.Channels
|
||||
lock (_serverWindowSizeLock)
|
||||
{
|
||||
var serverWindowSize = RemoteWindowSize;
|
||||
if (serverWindowSize == 0)
|
||||
if (serverWindowSize == 0U)
|
||||
{
|
||||
// allow us to be signal when remote window size is adjusted
|
||||
_channelServerWindowAdjustWaitHandle.Reset();
|
||||
|
||||
Reference in New Issue
Block a user