git://git.onelab.eu
/
vsys.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Finished patching things.
[vsys.git]
/
vsyssh
/
vsyssh.c
diff --git
a/vsyssh/vsyssh.c
b/vsyssh/vsyssh.c
index
b77d7f2
..
58625f5
100644
(file)
--- a/
vsyssh/vsyssh.c
+++ b/
vsyssh/vsyssh.c
@@
-66,6
+66,8
@@
int main(int argc, char **argv, char **envp)
char lineread[2048];
int ret;
ret=read(0,lineread,2048);
+ lineread[ret]='\0';
+ printf ("writing %s\n",lineread);
write(vfd1,lineread,ret);
FD_CLR(0,&set);
} if (FD_ISSET(vfd0,&set)) {