projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove is_shift_pressed() -- it's not been used since r4906.
[u/mdw/putty]
/
psftp.c
diff --git
a/psftp.c
b/psftp.c
index
e0fbee8
..
65d52c3
100644
(file)
--- a/
psftp.c
+++ b/
psftp.c
@@
-2518,7
+2518,8
@@
int from_backend(void *frontend, int is_stderr, const char *data, int datalen)
*/
if (is_stderr) {
if (len > 0)
- fwrite(data, 1, len, stderr);
+ if (fwrite(data, 1, len, stderr) < len)
+ /* oh well */;
return 0;
}