projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix handling of SSH2_MSG_CHANNEL_CLOSE, which was breaking in port
[u/mdw/putty]
/
rlogin.c
diff --git
a/rlogin.c
b/rlogin.c
index
5c55d5a
..
a2199cf
100644
(file)
--- a/
rlogin.c
+++ b/
rlogin.c
@@
-137,9
+137,8
@@
static char *rlogin_init(char *host, int port, char **realhost)
*/
static int rlogin_send(char *buf, int len)
{
*/
static int rlogin_send(char *buf, int len)
{
-
if (s == NULL)
if (s == NULL)
- return;
+ return
0
;
rlogin_bufsize = sk_write(s, buf, len);
rlogin_bufsize = sk_write(s, buf, len);