]> git.itanic.dy.fi Git - rrdd/commitdiff
process.c: Trivial white space cleanup
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Fri, 8 Jul 2016 09:39:30 +0000 (12:39 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Fri, 8 Jul 2016 09:39:30 +0000 (12:39 +0300)
Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
process.c

index 3b107008cf9f63c8430f80b2e40096f6faf3ff8d..d6ed65199b97a5e4a0658ec8b408b2140667a942 100644 (file)
--- a/process.c
+++ b/process.c
@@ -421,7 +421,7 @@ int harvest_zombies(int pid)
                return 0;
 
        if (pid)
                return 0;
 
        if (pid)
-               pr_debug("Waiting on pid %d, children left: %d\n", pid, 
+               pr_debug("Waiting on pid %d, children left: %d\n", pid,
                        child_count);
 
        do {
                        child_count);
 
        do {
@@ -535,15 +535,15 @@ int run_piped_stream(const char *cmd, char *const argv[],
 
        if (stdinf)
                i = &ifd;
 
        if (stdinf)
                i = &ifd;
-       else 
+       else
                i = 0;
        if (stdoutf)
                o = &ofd;
                i = 0;
        if (stdoutf)
                o = &ofd;
-       else 
+       else
                o = 0;
        if (stderrf)
                e = &efd;
                o = 0;
        if (stderrf)
                e = &efd;
-       else 
+       else
                e = 0;
 
        pid = run_piped(cmd, argv, i, o, e);
                e = 0;
 
        pid = run_piped(cmd, argv, i, o, e);
@@ -649,7 +649,7 @@ print:
                }
 
                sptr = eptr = rbuf;
                }
 
                sptr = eptr = rbuf;
-               while(bytes--) {
+               while (bytes--) {
                        if (*eptr == '\n') {
                                *eptr = 0;
                                if (is_stderr)
                        if (*eptr == '\n') {
                                *eptr = 0;
                                if (is_stderr)
@@ -667,7 +667,7 @@ print:
        close(ofd);
        close(efd);
 
        close(ofd);
        close(efd);
 
-       harvest_zombies(child); 
+       harvest_zombies(child);
 
        exit(1);
        return 0;
 
        exit(1);
        return 0;