~vcs-imports/putty/master

Viewing all changes in revision 6109.

  • Committer: Simon Tatham
  • Date: 2021-05-13 17:20:41 UTC
  • Revision ID: git-v1:155d8121e6584f842fa06f5fbad75b2555f60269
Fix confusion between invalid Windows HANDLE values.

I was checking a HANDLE against INVALID_HANDLE_VALUE to decide whether
it should be closed. But ten lines further up, I was setting it
manually to NULL to suppress the close. Oops.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: