diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-08-30 16:35:58 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-08-30 16:35:58 -0700 |
commit | 5be6ab6cdbce6f45873945e8b2c6337c095c3efc (patch) | |
tree | c0501f8b0a3e53d4a0fb6128fed78fcfe9f6d1ad | |
parent | a055153cdac2398e6eb536e3678639020914561a (diff) | |
download | node-new-5be6ab6cdbce6f45873945e8b2c6337c095c3efc.tar.gz |
Fix style
-rw-r--r-- | src/node_child_process.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/node_child_process.cc b/src/node_child_process.cc index 97d62bba79..2c12d23178 100644 --- a/src/node_child_process.cc +++ b/src/node_child_process.cc @@ -286,8 +286,7 @@ int ChildProcess::Spawn(const char *file, close(stdin_pipe[0]); stdio_fds[0] = stdin_pipe[1]; SetNonBlocking(stdin_pipe[1]); - } - else { + } else { stdio_fds[0] = custom_fds[0]; } @@ -295,8 +294,7 @@ int ChildProcess::Spawn(const char *file, close(stdout_pipe[1]); stdio_fds[1] = stdout_pipe[0]; SetNonBlocking(stdout_pipe[0]); - } - else { + } else { stdio_fds[1] = custom_fds[1]; } @@ -304,8 +302,7 @@ int ChildProcess::Spawn(const char *file, close(stderr_pipe[1]); stdio_fds[2] = stderr_pipe[0]; SetNonBlocking(stderr_pipe[0]); - } - else { + } else { stdio_fds[2] = custom_fds[2]; } |