From 36e53c066210874f01da525f8c823c137c9574b4 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 8 Apr 2008 09:49:23 +0200 Subject: [PATCH] exec plugin: Removed whitespaces at EOL. --- src/exec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.11.0