diff options
author | sergeyu <sergeyu@chromium.org> | 2015-01-09 11:33:24 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-09 19:34:12 +0000 |
commit | c5f104b31e1a640e4adaeaac7fca30c72eb04138 (patch) | |
tree | f1de6d1828d8eaef25a9aa4e07a4a4d46764f045 /remoting/host/username.cc | |
parent | a261cb0d164c411e916fb62f4c560ce5acb260f3 (diff) | |
download | chromium_src-c5f104b31e1a640e4adaeaac7fca30c72eb04138.zip chromium_src-c5f104b31e1a640e4adaeaac7fca30c72eb04138.tar.gz chromium_src-c5f104b31e1a640e4adaeaac7fca30c72eb04138.tar.bz2 |
replace NULL->nullptr in src/remoting.
Review URL: https://codereview.chromium.org/810133003
Cr-Commit-Position: refs/heads/master@{#310816}
Diffstat (limited to 'remoting/host/username.cc')
-rw-r--r-- | remoting/host/username.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/username.cc b/remoting/host/username.cc index e737425..cf27419 100644 --- a/remoting/host/username.cc +++ b/remoting/host/username.cc @@ -24,7 +24,7 @@ std::string GetUsername() { std::vector<char> buf(buf_size); struct passwd passwd; - struct passwd* passwd_result = NULL; + struct passwd* passwd_result = nullptr; getpwuid_r(getuid(), &passwd, &(buf[0]), buf_size, &passwd_result); return passwd_result ? passwd_result->pw_name : std::string(); #else // !defined(OS_POSIX) |