mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:08:12 +00:00
Net: Put a bunch of socket debug logging behind FOO_DEBUG
Also remove an unused Socket::listen() implementation.
This commit is contained in:
parent
ec65b8db2e
commit
e08991319a
3 changed files with 10 additions and 11 deletions
|
@ -158,7 +158,9 @@ KResult LocalSocket::listen(int backlog)
|
|||
return KResult(-EOPNOTSUPP);
|
||||
set_backlog(backlog);
|
||||
m_connect_side_role = m_role = Role::Listener;
|
||||
#ifdef DEBUG_LOCAL_SOCKET
|
||||
kprintf("LocalSocket{%p} listening with backlog=%d\n", this, backlog);
|
||||
#endif
|
||||
return KSuccess;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue