Arrange that log_packet() isn't called for raw data logging if logctx is null.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 21 Jul 2007 13:43:57 +0000 (13:43 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 21 Jul 2007 13:43:57 +0000 (13:43 +0000)
commitff05dfefc7f9ba78da705c1686016b8e2a9fa5f4
tree4c7da5abfffbfee8b96eca87bb449986e5e5175c
parent1fcd0d9872f2f90f63ca164e9f0661096db056cf
Arrange that log_packet() isn't called for raw data logging if logctx is null.
This allows us to send data in ssh_init(), albeit at the expense of its not
being properly logged, so arrange to send the version string then if that's
sensible, which should reduce the number of round-trips required to bring
up an SSH-2 connection.

git-svn-id: svn://svn.tartarus.org/sgt/putty@7646 cda61777-01e9-0310-a592-d414129be87e
ssh.c