We shouldn't offer the Break special when we don't have a session to send it
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 17 Oct 2004 15:32:42 +0000 (15:32 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 17 Oct 2004 15:32:42 +0000 (15:32 +0000)
commit62638676b35ab79d618534984f2d3416366f19a3
tree9a831c583f22557104b7c77069c962d255953336
parent533b1743c50f01d64c67cb69ccd0d8c6f9762092
We shouldn't offer the Break special when we don't have a session to send it
down. (A side effect of fixing this is that ssh->mainchain is set to NULL
when it closes, which might avoid other sorts of trouble.)

While we're here, don't bother offering SSH1_MSG_IGNORE if we believe the
remote will barf on it.

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