]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix an EOF-testing goof in winhandl.c.
authorSimon Tatham <anakin@pobox.com>
Fri, 3 Feb 2017 19:33:50 +0000 (19:33 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 3 Feb 2017 19:33:50 +0000 (19:33 +0000)
commit13d52fcb036ba52db597f49ea291cd6dd4105f43
tree5441efcb6e7297f8b8d9cda4a218993db3c4d19e
parentf6c1c8819b5d90a97124b62ee07b0e06d6bbb6c3
Fix an EOF-testing goof in winhandl.c.

I was having a play with clang's MSVC compatibility mode, just to see
how much of PuTTY it could compile, and one of its warnings pointed
out this error which must have crept in when I was changing the EOF
flags in winhandl.c from booleans to three-state enums - I left the !
on the front of what was previously an if (!thing) and needed to turn
into if (thing == EOF_NO).
windows/winhandl.c