mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 20:45:08 +00:00
Put miscellaneous debug spam behind #ifdefs.
This commit is contained in:
parent
1b16a29044
commit
6c2089c59d
4 changed files with 27 additions and 3 deletions
|
@ -46,14 +46,18 @@ GEventLoop::GEventLoop()
|
|||
rc = connect(m_event_fd, (const sockaddr*)&address, sizeof(address));
|
||||
if (rc == 0)
|
||||
break;
|
||||
#ifdef GEVENTLOOP_DEBUG
|
||||
dbgprintf("connect failed: %d, %s\n", errno, strerror(errno));
|
||||
#endif
|
||||
sleep(1);
|
||||
--retries;
|
||||
}
|
||||
if (rc < 0) {
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
#ifdef GEVENTLOOP_DEBUG
|
||||
dbgprintf("(%u) GEventLoop constructed :)\n", getpid());
|
||||
#endif
|
||||
}
|
||||
|
||||
GEventLoop::~GEventLoop()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue