mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 18:19:03 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
Notes:
sideshowbarker
2024-07-17 16:21:09 +09:00
Author: https://github.com/IdanHo
Commit: 086969277e
Pull-request: https://github.com/SerenityOS/serenity/pull/12321
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/bgianfo ✅
1665 changed files with 8479 additions and 8479 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue