~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add an extra example to the Plink-with-WinCVS section.
[sgt/putty]
/
psftp.c
diff --git
a/psftp.c
b/psftp.c
index
ead8614
..
094e68b
100644
(file)
--- a/
psftp.c
+++ b/
psftp.c
@@
-1512,6
+1512,8
@@
int from_backend(int is_stderr, char *data, int datalen)
unsigned char *p = (unsigned char *) data;
unsigned len = (unsigned) datalen;
+ assert(len > 0);
+
/*
* stderr data is just spouted to local stderr and otherwise
* ignored.