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/06/13 23:56:45 UTC
mesos git commit: Replaced an instance of `NULL` in
`src/slave/slave.cpp` with `nullptr`.
Repository: mesos
Updated Branches:
refs/heads/master 1d37cd507 -> ac4cc5361
Replaced an instance of `NULL` in `src/slave/slave.cpp` with `nullptr`.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ac4cc536
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ac4cc536
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/ac4cc536
Branch: refs/heads/master
Commit: ac4cc5361c7339eef316f306f82169572817b68e
Parents: 1d37cd5
Author: Michael Park <mp...@apache.org>
Authored: Mon Jun 13 15:01:25 2016 -0700
Committer: Michael Park <mp...@apache.org>
Committed: Mon Jun 13 16:56:12 2016 -0700
----------------------------------------------------------------------
src/slave/slave.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/ac4cc536/src/slave/slave.cpp
----------------------------------------------------------------------
diff --git a/src/slave/slave.cpp b/src/slave/slave.cpp
index 0ccc56f..0af04d6 100644
--- a/src/slave/slave.cpp
+++ b/src/slave/slave.cpp
@@ -1037,7 +1037,7 @@ void Slave::authenticate()
}
#endif // HAS_AUTHENTICATION
- if (authenticatee == NULL) {
+ if (authenticatee == nullptr) {
Try<Authenticatee*> module =
modules::ModuleManager::create<Authenticatee>(authenticateeName);
if (module.isError()) {