projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure all backends _remember_ the connection has closed after
[u/mdw/putty]
/
telnet.c
diff --git
a/telnet.c
b/telnet.c
index
3e65cd4
..
cd70d9b
100644
(file)
--- a/
telnet.c
+++ b/
telnet.c
@@
-465,9
+465,10
@@
static void do_telnet_read (char *buf, int len) {
}
}
-static int telnet_receive(Socket s, int urgent, char *data, int len) {
+static int telnet_receive(Socket s
kt
, int urgent, char *data, int len) {
if (urgent==3) {
/* A socket error has occurred. */
+ s = NULL;
connection_fatal(data);
len = 0;
}