1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-21 13:05:04 -05:00

A few more fixes in the new asynchronous-alert-box mechanism.

[originally from svn r5343]
This commit is contained in:
Simon Tatham 2005-02-18 18:19:28 +00:00
parent a2567371a6
commit 775fe9eb31

4
ssh.c
View File

@ -2383,6 +2383,7 @@ static void ssh_process_queued_incoming_data(Ssh ssh)
static void ssh_set_frozen(Ssh ssh, int frozen) static void ssh_set_frozen(Ssh ssh, int frozen)
{ {
if (ssh->s)
sk_set_frozen(ssh->s, frozen); sk_set_frozen(ssh->s, frozen);
ssh->frozen = frozen; ssh->frozen = frozen;
} }
@ -5219,6 +5220,7 @@ static int do_ssh2_transport(Ssh ssh, void *vin, int inlen,
if (s->dlgret == 0) { if (s->dlgret == 0) {
ssh->close_expected = TRUE; ssh->close_expected = TRUE;
ssh_closing((Plug)ssh, NULL, 0, 0); ssh_closing((Plug)ssh, NULL, 0, 0);
crStop(0);
} }
} }
@ -5243,6 +5245,7 @@ static int do_ssh2_transport(Ssh ssh, void *vin, int inlen,
if (s->dlgret == 0) { if (s->dlgret == 0) {
ssh->close_expected = TRUE; ssh->close_expected = TRUE;
ssh_closing((Plug)ssh, NULL, 0, 0); ssh_closing((Plug)ssh, NULL, 0, 0);
crStop(0);
} }
} }
@ -5267,6 +5270,7 @@ static int do_ssh2_transport(Ssh ssh, void *vin, int inlen,
if (s->dlgret == 0) { if (s->dlgret == 0) {
ssh->close_expected = TRUE; ssh->close_expected = TRUE;
ssh_closing((Plug)ssh, NULL, 0, 0); ssh_closing((Plug)ssh, NULL, 0, 0);
crStop(0);
} }
} }