mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
LibCore: Remove some debug spam in Local{Server,Socket}
This commit is contained in:
parent
32dfde746a
commit
b191f24f05
2 changed files with 0 additions and 4 deletions
|
@ -55,8 +55,6 @@ bool LocalServer::take_over_from_system_server()
|
||||||
constexpr auto socket_takeover = "SOCKET_TAKEOVER";
|
constexpr auto socket_takeover = "SOCKET_TAKEOVER";
|
||||||
|
|
||||||
if (getenv(socket_takeover)) {
|
if (getenv(socket_takeover)) {
|
||||||
dbg() << "Taking the socket over from SystemServer";
|
|
||||||
|
|
||||||
// Sanity check: it has to be a socket.
|
// Sanity check: it has to be a socket.
|
||||||
struct stat stat;
|
struct stat stat;
|
||||||
int rc = fstat(3, &stat);
|
int rc = fstat(3, &stat);
|
||||||
|
|
|
@ -78,8 +78,6 @@ RefPtr<LocalSocket> LocalSocket::take_over_accepted_socket_from_system_server()
|
||||||
if (!getenv(socket_takeover))
|
if (!getenv(socket_takeover))
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
dbg() << "Taking the accepted socket over from SystemServer";
|
|
||||||
|
|
||||||
// The SystemServer has passed us the socket as fd 3,
|
// The SystemServer has passed us the socket as fd 3,
|
||||||
// so use that instead of creating our own.
|
// so use that instead of creating our own.
|
||||||
constexpr int fd = 3;
|
constexpr int fd = 3;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue