mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-16 03:53:01 -05:00
Oops - accidentally undid rev 1.82 [r844]
[originally from svn r853] [r844 == eac718ee1bef7e1d5055aafc674ac3db1527a876]
This commit is contained in:
parent
e4532bb582
commit
43dff68308
1
ssh.c
1
ssh.c
@ -1124,6 +1124,7 @@ static void ssh_gotdata(unsigned char *data, int datalen)
|
|||||||
static int ssh_receive(Socket skt, int urgent, char *data, int len) {
|
static int ssh_receive(Socket skt, int urgent, char *data, int len) {
|
||||||
if (!len) {
|
if (!len) {
|
||||||
/* Connection has closed. */
|
/* Connection has closed. */
|
||||||
|
ssh_state = SSH_STATE_CLOSED;
|
||||||
sk_close(s);
|
sk_close(s);
|
||||||
s = NULL;
|
s = NULL;
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user