mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-10 23:58:06 -05:00
A few more fixes in the new asynchronous-alert-box mechanism.
[originally from svn r5343]
This commit is contained in:
parent
a2567371a6
commit
775fe9eb31
6
ssh.c
6
ssh.c
@ -2383,7 +2383,8 @@ static void ssh_process_queued_incoming_data(Ssh ssh)
|
||||
|
||||
static void ssh_set_frozen(Ssh ssh, int frozen)
|
||||
{
|
||||
sk_set_frozen(ssh->s, frozen);
|
||||
if (ssh->s)
|
||||
sk_set_frozen(ssh->s, frozen);
|
||||
ssh->frozen = frozen;
|
||||
}
|
||||
|
||||
@ -5219,6 +5220,7 @@ static int do_ssh2_transport(Ssh ssh, void *vin, int inlen,
|
||||
if (s->dlgret == 0) {
|
||||
ssh->close_expected = TRUE;
|
||||
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) {
|
||||
ssh->close_expected = TRUE;
|
||||
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) {
|
||||
ssh->close_expected = TRUE;
|
||||
ssh_closing((Plug)ssh, NULL, 0, 0);
|
||||
crStop(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user