1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Miscellaneous fixes for better interoperation with commercial SSH 2

[originally from svn r708]
This commit is contained in:
Simon Tatham
2000-10-12 13:34:46 +00:00
parent e67f143e61
commit fd3e15f328
2 changed files with 7 additions and 2 deletions

View File

@ -511,6 +511,8 @@ int main(int argc, char **argv) {
back->special(TS_EOF);
}
}
if (back->socket() == INVALID_SOCKET)
break; /* we closed the connection */
}
WSACleanup();
return 0;