projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
John Sullivan's patches plus more fixes:
[u/mdw/putty]
/
ssh.c
diff --git
a/ssh.c
b/ssh.c
index
f80055c
..
8092c98
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-114,6
+114,12
@@
static void ssh_gotdata(unsigned char *data, int datalen) {
data++, datalen--;
}
data++, datalen--;
}
+#ifdef FWHACK
+ if (len == 0x52656d6f) { /* "Remo"te server has closed ... */
+ len = 0x300; /* big enough to carry to end */
+ }
+#endif
+
pad = 8 - (len%8);
biglen = len + pad;
pad = 8 - (len%8);
biglen = len + pad;