]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix an error I introduced into SSH packet logging in r5642: some outgoing
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Wed, 26 Oct 2005 22:18:11 +0000 (22:18 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Wed, 26 Oct 2005 22:18:11 +0000 (22:18 +0000)
commit69ac38c1a847348de4c05fd4e19abf17a10de8b3
treecf83e90edd1ef26a4798c94ec5c09de558175d8b
parent24bd4cfdde43a2d07b9f054b851b2335b685edce
Fix an error I introduced into SSH packet logging in r5642: some outgoing
packets over about 256 bytes would be logged with 12 bytes of preceding
garbage. (But the rest of the packet was logged in its entirety. This
holds for packets where (int(len/256)%2)==1, with an appropriate fudge
factor applied to `len'.) Ahem.

[originally from svn r6429]
[r5642 == c09d885b2783906a4427410da7a9cbe3cd6abfd5]
ssh.c