Repository: mesos
Updated Branches:
  refs/heads/master 0676792bf -> 84d89ae86


Fixed style issues in subprocess.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d64cf0e0
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d64cf0e0
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/d64cf0e0

Branch: refs/heads/master
Commit: d64cf0e0899631180f2dd41ed8856617578d23e6
Parents: 0676792
Author: Michael Park <[email protected]>
Authored: Wed May 11 21:37:34 2016 -0600
Committer: Michael Park <[email protected]>
Committed: Wed May 11 21:37:34 2016 -0600

----------------------------------------------------------------------
 3rdparty/libprocess/src/subprocess.cpp | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/d64cf0e0/3rdparty/libprocess/src/subprocess.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/subprocess.cpp 
b/3rdparty/libprocess/src/subprocess.cpp
index 885ba33..67d04b9 100644
--- a/3rdparty/libprocess/src/subprocess.cpp
+++ b/3rdparty/libprocess/src/subprocess.cpp
@@ -169,10 +169,18 @@ Try<Subprocess> subprocess(
   // it in the non-`__WINDOWS__` branch.
   {
 #ifndef __WINDOWS__
-    Try<pid_t> pid =
-      internal::cloneChild(path, argv, set_sid, environment, _clone,
-                           parent_hooks, working_directory, watchdog, stdinfds,
-                           stdoutfds, stderrfds);
+    Try<pid_t> pid = internal::cloneChild(
+        path,
+        argv,
+        set_sid,
+        environment,
+        _clone,
+        parent_hooks,
+        working_directory,
+        watchdog,
+        stdinfds,
+        stdoutfds,
+        stderrfds);
 
     if (pid.isError()) {
       return Error(pid.error());
@@ -180,9 +188,8 @@ Try<Subprocess> subprocess(
 
     process.data->pid = pid.get();
 #else
-    Try<PROCESS_INFORMATION> processInformation =
-      internal::createChildProcess(path, argv, environment, stdinfds, 
stdoutfds,
-                                   stderrfds);
+    Try<PROCESS_INFORMATION> processInformation = internal::createChildProcess(
+        path, argv, environment, stdinfds, stdoutfds, stderrfds);
 
     if (processInformation.isError()) {
       process::internal::close(stdinfds, stdoutfds, stderrfds);

Reply via email to