projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
from_backend() should always be called with len > 0. Only rlogin
[u/mdw/putty]
/
rlogin.c
diff --git
a/rlogin.c
b/rlogin.c
index
ba7dd37
..
a80d12e
100644
(file)
--- a/
rlogin.c
+++ b/
rlogin.c
@@
-68,7
+68,8
@@
static int rlogin_receive(Plug plug, int urgent, char *data, int len)
}
firstbyte = 0;
}
- c_write(data, len);
+ if (len > 0)
+ c_write(data, len);
}
return 1;
}