From: Florian Forster Date: Tue, 8 Apr 2008 07:49:23 +0000 (+0200) Subject: exec plugin: Removed whitespaces at EOL. X-Git-Tag: collectd-4.4.0~45 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=36e53c066210874f01da525f8c823c137c9574b4;p=collectd.git exec plugin: Removed whitespaces at EOL. --- diff --git a/src/exec.c b/src/exec.c index b0b716f6..70c1c184 100644 --- a/src/exec.c +++ b/src/exec.c @@ -380,7 +380,7 @@ static void exec_child (program_list_t *pl) /* {{{ */ /* * Creates three pipes (one for reading, one for writing and one for errors), - * forks a child, sets up the pipes so that fd_in is connected to STDIN of + * forks a child, sets up the pipes so that fd_in is connected to STDIN of * the child and fd_out is connected to STDOUT and fd_err is connected to STDERR * of the child. Then is calls `exec_child'. */ @@ -564,8 +564,8 @@ static void *exec_read_one (void *arg) /* {{{ */ pbuffer = buffer + len; } else - pbuffer = buffer; - } + pbuffer = buffer; + } else if (FD_ISSET(fd_err, ©)) { char *pnl;