Tweak to window handling: Keep the local window in a signed integer, and
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 4 Aug 2007 14:32:06 +0000 (14:32 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 4 Aug 2007 14:32:06 +0000 (14:32 +0000)
commit467e064dce7331724463bb528a062fe83c4fb647
tree2e688a78ee55a000449f34db558fea730d028d0b
parentd947d2b023654d201c1239adc3aee1411523d63b
Tweak to window handling:  Keep the local window in a signed integer, and
arrange to handle usefully the case where the server sends us more data
than it's allowed to.  There's no danger of overflow, since the maximum is
OUR_V2_WINSIZE and the minimum is -OUR_V2_MAXPKT (at least if the server is
nice).

git-svn-id: svn://svn.tartarus.org/sgt/putty@7661 cda61777-01e9-0310-a592-d414129be87e
ssh.c