libprocess: Fixed style issues around control structures.

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

Branch: refs/heads/master
Commit: da6e3edf35273a09b03b33d1247e9f78340c80de
Parents: 99957d8
Author: Michael Park <[email protected]>
Authored: Thu Aug 27 22:17:49 2015 -0400
Committer: Michael Park <[email protected]>
Committed: Thu Aug 27 22:19:46 2015 -0400

----------------------------------------------------------------------
 3rdparty/libprocess/include/process/network.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/da6e3edf/3rdparty/libprocess/include/process/network.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/network.hpp 
b/3rdparty/libprocess/include/process/network.hpp
index 4ae8b11..61bfa82 100644
--- a/3rdparty/libprocess/include/process/network.hpp
+++ b/3rdparty/libprocess/include/process/network.hpp
@@ -105,7 +105,7 @@ inline Try<Address> address(int s)
   struct sockaddr_storage storage;
   socklen_t storagelen = sizeof(storage);
 
-  if(::getsockname(s, (struct sockaddr*) &storage, &storagelen) < 0) {
+  if (::getsockname(s, (struct sockaddr*) &storage, &storagelen) < 0) {
     return ErrnoError("Failed to getsockname");
   }
 
@@ -124,7 +124,7 @@ inline Try<Address> peer(int s)
   struct sockaddr_storage storage;
   socklen_t storagelen = sizeof(storage);
 
-  if(::getpeername(s, (struct sockaddr*) &storage, &storagelen) < 0) {
+  if (::getpeername(s, (struct sockaddr*) &storage, &storagelen) < 0) {
     return ErrnoError("Failed to getpeername");
   }
 

Reply via email to