1
Fork 0
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:
Andreas Kling 2019-10-18 16:47:29 +02:00
parent ec65b8db2e
commit e08991319a
3 changed files with 10 additions and 11 deletions

View file

@ -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;
}