1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -38,7 +38,7 @@ UDPServer::~UDPServer()
::close(m_fd);
}
bool UDPServer::bind(const IPv4Address& address, u16 port)
bool UDPServer::bind(IPv4Address const& address, u16 port)
{
if (m_bound)
return false;
@ -46,7 +46,7 @@ bool UDPServer::bind(const IPv4Address& address, u16 port)
auto saddr = SocketAddress(address, port);
auto in = saddr.to_sockaddr_in();
if (::bind(m_fd, (const sockaddr*)&in, sizeof(in)) != 0) {
if (::bind(m_fd, (sockaddr const*)&in, sizeof(in)) != 0) {
perror("UDPServer::bind");
return false;
}