Skip to content

Commit

Permalink
close -> ::close
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Gauci committed Sep 12, 2019
1 parent 9eedebf commit 5a59872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/TcpSocketHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ void TcpSocketHandler::stopListening(const SocketEndpoint &endpoint) {
}
auto &serverSockets = it->second;
for (int sockFd : serverSockets) {
close(sockFd);
::close(sockFd);
}
portServerSockets.erase(it);
}
Expand Down

0 comments on commit 5a59872

Please sign in to comment.