projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Instructions on setting PATH more permanently.
[u/mdw/putty]
/
rlogin.c
diff --git
a/rlogin.c
b/rlogin.c
index
20296a0
..
e0552f2
100644
(file)
--- a/
rlogin.c
+++ b/
rlogin.c
@@
-24,9
+24,10
@@
static void c_write (char *buf, int len) {
from_backend(0, buf, len);
}
from_backend(0, buf, len);
}
-static int rlogin_receive (Socket s, int urgent, char *data, int len) {
+static int rlogin_receive (Socket s
kt
, int urgent, char *data, int len) {
if (urgent==3) {
/* A socket error has occurred. */
if (urgent==3) {
/* A socket error has occurred. */
+ s = NULL;
connection_fatal(data);
len = 0;
}
connection_fatal(data);
len = 0;
}