projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Miscellaneous fixes for better interoperation with commercial SSH 2
[u/mdw/putty]
/
plink.c
diff --git
a/plink.c
b/plink.c
index
89b2f2c
..
10a4ec1
100644
(file)
--- a/
plink.c
+++ b/
plink.c
@@
-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;