mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 14:14:45 +03:00
LibHTTP+AK: Rename CNETWORKJOB_DEBUG to NETWORKJOB_DEBUG
This commit is contained in:
parent
a17b2248f2
commit
fd7de68d07
Notes:
sideshowbarker
2024-07-17 20:24:42 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/fd7de68d07b Pull-request: https://github.com/SerenityOS/serenity/pull/12084
@ -26,10 +26,6 @@
|
||||
#cmakedefine01 CALLBACK_MACHINE_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef CNETWORKJOB_DEBUG
|
||||
#cmakedefine01 CNETWORKJOB_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef COMPOSE_DEBUG
|
||||
#cmakedefine01 COMPOSE_DEBUG
|
||||
#endif
|
||||
@ -302,6 +298,10 @@
|
||||
#cmakedefine01 MOVE_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef NETWORKJOB_DEBUG
|
||||
#cmakedefine01 NETWORKJOB_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef NT_DEBUG
|
||||
#cmakedefine01 NT_DEBUG
|
||||
#endif
|
||||
|
@ -11,7 +11,6 @@ set(BMP_DEBUG ON)
|
||||
set(BXVGA_DEBUG ON)
|
||||
set(CACHE_DEBUG ON)
|
||||
set(CALLBACK_MACHINE_DEBUG ON)
|
||||
set(CNETWORKJOB_DEBUG ON)
|
||||
set(COMMIT_DEBUG ON)
|
||||
set(COMPOSE_DEBUG ON)
|
||||
set(CONTEXT_SWITCH_DEBUG ON)
|
||||
@ -123,6 +122,7 @@ set(MOUSE_DEBUG ON)
|
||||
set(MOVE_DEBUG ON)
|
||||
set(MULTIPROCESSOR_DEBUG ON)
|
||||
set(NE2000_DEBUG ON)
|
||||
set(NETWORKJOB_DEBUG ON)
|
||||
set(NETWORK_TASK_DEBUG ON)
|
||||
set(NT_DEBUG ON)
|
||||
set(NVME_DEBUG ON)
|
||||
|
@ -37,7 +37,7 @@ void NetworkJob::did_finish(NonnullRefPtr<NetworkResponse>&& response)
|
||||
NonnullRefPtr<NetworkJob> protector(*this);
|
||||
|
||||
m_response = move(response);
|
||||
dbgln_if(CNETWORKJOB_DEBUG, "{} job did_finish", *this);
|
||||
dbgln_if(NETWORKJOB_DEBUG, "{} job did_finish", *this);
|
||||
VERIFY(on_finish);
|
||||
on_finish(true);
|
||||
shutdown(ShutdownMode::DetachFromSocket);
|
||||
@ -53,7 +53,7 @@ void NetworkJob::did_fail(Error error)
|
||||
NonnullRefPtr<NetworkJob> protector(*this);
|
||||
|
||||
m_error = error;
|
||||
dbgln_if(CNETWORKJOB_DEBUG, "{}{{{:p}}} job did_fail! error: {} ({})", class_name(), this, (unsigned)error, to_string(error));
|
||||
dbgln_if(NETWORKJOB_DEBUG, "{}{{{:p}}} job did_fail! error: {} ({})", class_name(), this, (unsigned)error, to_string(error));
|
||||
VERIFY(on_finish);
|
||||
on_finish(false);
|
||||
shutdown(ShutdownMode::DetachFromSocket);
|
||||
|
Loading…
Reference in New Issue
Block a user