mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:47:35 +00:00
Everywhere: Replace dbgln<flag>(...) with dbgln_if(flag, ...)
Replacement made by `find Kernel Userland -name '*.h' -o -name '*.cpp' | sed -i -Ee 's/dbgln\b<(\w+)>\(/dbgln_if(\1, /g'`
This commit is contained in:
parent
1f8a633cc7
commit
09a43969ba
95 changed files with 427 additions and 425 deletions
|
@ -115,7 +115,7 @@ void Service::setup_notifier()
|
|||
|
||||
void Service::handle_socket_connection()
|
||||
{
|
||||
dbgln<SERVICE_DEBUG>("Ready to read on behalf of {}", name());
|
||||
dbgln_if(SERVICE_DEBUG, "Ready to read on behalf of {}", name());
|
||||
|
||||
if (m_accept_socket_connections) {
|
||||
int accepted_fd = accept(m_socket_fd, nullptr, nullptr);
|
||||
|
@ -144,7 +144,7 @@ void Service::activate()
|
|||
|
||||
void Service::spawn(int socket_fd)
|
||||
{
|
||||
dbgln<SERVICE_DEBUG>("Spawning {}", name());
|
||||
dbgln_if(SERVICE_DEBUG, "Spawning {}", name());
|
||||
|
||||
m_run_timer.start();
|
||||
pid_t pid = fork();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue