mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-18 11:31:00 -05:00

Jacob pointed out the other day that the call to logevent with NULL frontend handle can't possibly work, and the comment next to it saying that it can is an outright lie (probably thoughtlessly copied from some part of the Windows front end, where it actually would be true). Furthermore, even if that logevent call didn't dereference NULL and segfault, the followup call to fatalbox() would be inappropriate, since proxied connections need not be the primary network connection of the whole process. Rewritten as a call to plug_closing, which is the proper channel through which to report errors on an individual socket or equivalent.