From: simon Date: Tue, 18 Dec 2012 09:19:04 +0000 (+0000) Subject: Switch round a bogus if statement I've just noticed. Both the write to X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/4c5b873c160b2d3ed9fbc3afa2214fca6dac4c2f?hp=4c5b873c160b2d3ed9fbc3afa2214fca6dac4c2f Switch round a bogus if statement I've just noticed. Both the write to pty_utmp_helper_pipe _and_ the close of it if we're not going to write should be conditionalised on the pipe existing, rather than just the former! git-svn-id: svn://svn.tartarus.org/sgt/putty@9729 cda61777-01e9-0310-a592-d414129be87e ---