Browse Source

Fix style

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
5be6ab6cdb
  1. 9
      src/node_child_process.cc

9
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];
}

Loading…
Cancel
Save