diff options
Diffstat (limited to 'pipeto.c')
-rw-r--r-- | pipeto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pipeto.c b/pipeto.c index 8014584..4392548 100644 --- a/pipeto.c +++ b/pipeto.c @@ -47,7 +47,7 @@ pipeto(const char *cmdline) break; *cp++ = 0; while (*cp == ' ') - cp++; + cp++; } argv[argc] = 0; @@ -96,6 +96,6 @@ pipeclose(pid_t pid) fflush(0); close(1); waitpid(pid, &s, 0); - + return s; } |