Modernize to C++11: NULL => nullptr.
No functional change.
This commit is contained in:
parent
9c74ea4bf4
commit
fab02809c6
29 changed files with 82 additions and 82 deletions
|
@ -123,7 +123,7 @@ int StreamListenSocket::GetPeerAddress(IPEndPoint* address) const {
|
|||
}
|
||||
|
||||
SocketDescriptor StreamListenSocket::AcceptSocket() {
|
||||
SocketDescriptor conn = HANDLE_EINTR(accept(socket_, NULL, NULL));
|
||||
SocketDescriptor conn = HANDLE_EINTR(accept(socket_, nullptr, nullptr));
|
||||
if (conn == kInvalidSocket)
|
||||
LOG(ERROR) << "Error accepting connection.";
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue