diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-01-26 20:27:26 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-01-26 20:27:26 +0100 |
commit | 2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6 (patch) | |
tree | 240cda05651bf8822b3eb47dee3a6781b064277a /filter.c | |
parent | c561aca4c9affa597d6a36d39d8a65c58ca78c87 (diff) | |
download | mblaze-2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6.tar.gz mblaze-2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6.tar.xz mblaze-2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6.zip |
clean up whitespace
Diffstat (limited to 'filter.c')
-rw-r--r-- | filter.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/filter.c b/filter.c index 87e48ca..7c64bcb 100644 --- a/filter.c +++ b/filter.c @@ -1,4 +1,4 @@ -#include <poll.h> +#include <poll.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -86,11 +86,11 @@ filter(char *input, size_t inlen, char *cmd, char **outputo, size_t *outleno) } // ok to fail when closed already - close(pipe0[1]); - close(pipe1[0]); + close(pipe0[1]); + close(pipe1[0]); int status; - waitpid(pid, &status, 0); + waitpid(pid, &status, 0); *outputo = output; *outleno = outlen; |