diff options
Diffstat (limited to 'Userland/Libraries/LibHTTP/HttpJob.cpp')
-rw-r--r-- | Userland/Libraries/LibHTTP/HttpJob.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Libraries/LibHTTP/HttpJob.cpp b/Userland/Libraries/LibHTTP/HttpJob.cpp index 96001bb0bc..d8c480c09a 100644 --- a/Userland/Libraries/LibHTTP/HttpJob.cpp +++ b/Userland/Libraries/LibHTTP/HttpJob.cpp @@ -17,9 +17,7 @@ void HttpJob::start() VERIFY(!m_socket); m_socket = Core::TCPSocket::construct(this); m_socket->on_connected = [this] { -#if CHTTPJOB_DEBUG - dbgln("HttpJob: on_connected callback"); -#endif + dbgln_if(CHTTPJOB_DEBUG, "HttpJob: on_connected callback"); on_socket_connected(); }; bool success = m_socket->connect(m_request.url().host(), m_request.url().port()); |