You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mp...@apache.org on 2017/04/26 23:53:18 UTC

mesos git commit: Fixed compilation error for libprocess.

Repository: mesos
Updated Branches:
  refs/heads/master c2b91a92e -> 87b793dbb


Fixed compilation error for libprocess.

Review: https://reviews.apache.org/r/58764/


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

Branch: refs/heads/master
Commit: 87b793dbbaad4a7b4acbdab00f23cc8db39b0def
Parents: c2b91a9
Author: Chun-Hung Hsiao <ch...@mesosphere.io>
Authored: Wed Apr 26 16:46:33 2017 -0700
Committer: Michael Park <mp...@apache.org>
Committed: Wed Apr 26 16:47:04 2017 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/src/process.cpp | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/87b793db/3rdparty/libprocess/src/process.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/process.cpp b/3rdparty/libprocess/src/process.cpp
index 6d4c502..f5b666f 100644
--- a/3rdparty/libprocess/src/process.cpp
+++ b/3rdparty/libprocess/src/process.cpp
@@ -2362,8 +2362,9 @@ Encoder* SocketManager::next(int_fd s)
           Try<Nothing> shutdown = socket.shutdown();
           if (shutdown.isError()) {
             LOG(ERROR) << "Failed to shutdown socket with fd " << socket.get()
-                       << ", address " << (socket.address().isSome() ?
-                       << stringify(socket.address().get()) : "N/A")
+                       << ", address " << (socket.address().isSome()
+                                             ? stringify(socket.address().get())
+                                             : "N/A")
                        << ": " << shutdown.error();
           }
         }
@@ -2447,8 +2448,9 @@ void SocketManager::close(int_fd s)
       Try<Nothing> shutdown = socket.shutdown();
       if (shutdown.isError()) {
         LOG(ERROR) << "Failed to shutdown socket with fd " << socket.get()
-                   << ", address " << (socket.address().isSome() ?
-                   << stringify(socket.address().get()) : "N/A")
+                   << ", address " << (socket.address().isSome()
+                                         ? stringify(socket.address().get())
+                                         : "N/A")
                    << ": " << shutdown.error();
       }
     }