1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 09:14:58 +00:00

LibCore: Move CHttpJob and CNetworkJob output to the right places

Errors go to stderr, debug output goes to the debug console. :^)
This commit is contained in:
Andreas Kling 2019-08-04 22:10:54 +02:00
parent 948c2657d6
commit 54ed6a888d
2 changed files with 11 additions and 10 deletions

View file

@ -13,7 +13,7 @@ CNetworkJob::~CNetworkJob()
void CNetworkJob::did_finish(NonnullRefPtr<CNetworkResponse>&& response)
{
m_response = move(response);
printf("%s{%p} job did_finish!\n", class_name(), this);
dbg() << *this << " job did_finish!";
ASSERT(on_finish);
on_finish(true);
delete_later();