mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
This commit is contained in:
parent
510030971b
commit
a410bb8fd5
Notes:
sideshowbarker
2024-07-18 23:55:33 +09:00
Author: https://github.com/asynts
Commit: a410bb8fd5
Pull-request: https://github.com/SerenityOS/serenity/pull/4907
7 changed files with 28 additions and 29 deletions
|
@ -86,7 +86,7 @@ ByteBuffer UDPServer::receive(size_t size, sockaddr_in& in)
|
|||
socklen_t in_len = sizeof(in);
|
||||
ssize_t rlen = ::recvfrom(m_fd, buf.data(), size, 0, (sockaddr*)&in, &in_len);
|
||||
if (rlen < 0) {
|
||||
dbg() << "recvfrom: " << strerror(errno);
|
||||
dbgln("recvfrom: {}", strerror(errno));
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue