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 2016/01/16 23:17:10 UTC

[3/3] mesos git commit: Fixed non-conformance of whitespace in comments for stout.

Fixed non-conformance of whitespace in comments for stout.

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


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

Branch: refs/heads/master
Commit: db0102dc45f058813e7fb0f672823a5580f1c2f6
Parents: 1a8e967
Author: Avinash sridharan <av...@mesosphere.io>
Authored: Fri Jan 15 16:15:28 2016 -0800
Committer: Michael Park <mp...@apache.org>
Committed: Sat Jan 16 14:13:47 2016 -0800

----------------------------------------------------------------------
 .../3rdparty/stout/include/stout/windows/error.hpp           | 8 ++++----
 3rdparty/libprocess/3rdparty/stout/tests/path_tests.cpp      | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/db0102dc/3rdparty/libprocess/3rdparty/stout/include/stout/windows/error.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/windows/error.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/windows/error.hpp
index 27c5d5d..64102e1 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/windows/error.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/windows/error.hpp
@@ -84,12 +84,12 @@ private:
     LPSTR message_buffer;
     size_t size = FormatMessage(
         allocate_message_buffer,
-        NULL,                   // Ignored.
+        NULL,                    // Ignored.
         errorCode,
         default_language,
-        (LPSTR) &message_buffer,// See comment above for note about quirky cast.
-        0,                      // Ignored.
-        NULL);                  // Ignored.
+        (LPSTR) &message_buffer, // See comment above about quirky cast.
+        0,                       // Ignored.
+        NULL);                   // Ignored.
 
     std::string message(message_buffer, size);
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/db0102dc/3rdparty/libprocess/3rdparty/stout/tests/path_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/path_tests.cpp b/3rdparty/libprocess/3rdparty/stout/tests/path_tests.cpp
index 05b3a2d..6dff5e7 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/path_tests.cpp
+++ b/3rdparty/libprocess/3rdparty/stout/tests/path_tests.cpp
@@ -130,7 +130,7 @@ TEST(PathTest, Join)
   EXPECT_EQ("", path::join(vector<string>()));
   EXPECT_EQ("a/b/c", path::join(vector<string>({"a", "b", "c"})));
 
-  //TODO(cmaloney): This should join to ""
+  // TODO(cmaloney): This should join to ""
   EXPECT_EQ("/", path::join(vector<string>({"", "", ""})));
 
   // Interesting corner cases around being the first, middle, last.