diff options
author | asynts <asynts@gmail.com> | 2021-01-09 18:51:44 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-09 21:11:09 +0100 |
commit | 938e5c7719ee546538bdfc44339b6c561b45edc9 (patch) | |
tree | 098bcb7d707e3a5e747eb5d5bc7381bb2146d67a /Services/ImageDecoder | |
parent | 40b8e2111595affb0a6ad8eb643c8f730f7a3c77 (diff) | |
download | serenity-938e5c7719ee546538bdfc44339b6c561b45edc9.zip |
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it
easier to find potentially introduced bugs with git bisect.Everything:
The modifications in this commit were automatically made using the
following command:
find . -name '*.cpp' -exec sed -i -E 's/dbg\(\) << ("[^"{]*");/dbgln\(\1\);/' {} \;
Diffstat (limited to 'Services/ImageDecoder')
-rw-r--r-- | Services/ImageDecoder/ClientConnection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Services/ImageDecoder/ClientConnection.cpp b/Services/ImageDecoder/ClientConnection.cpp index 0a64b399b8..bf9d122194 100644 --- a/Services/ImageDecoder/ClientConnection.cpp +++ b/Services/ImageDecoder/ClientConnection.cpp @@ -63,14 +63,14 @@ OwnPtr<Messages::ImageDecoderServer::DecodeImageResponse> ClientConnection::hand auto encoded_buffer = SharedBuffer::create_from_shbuf_id(message.encoded_shbuf_id()); if (!encoded_buffer) { #ifdef IMAGE_DECODER_DEBUG - dbg() << "Could not map encoded data buffer"; + dbgln("Could not map encoded data buffer"); #endif return nullptr; } if (message.encoded_size() > (size_t)encoded_buffer->size()) { #ifdef IMAGE_DECODER_DEBUG - dbg() << "Encoded buffer is smaller than encoded size"; + dbgln("Encoded buffer is smaller than encoded size"); #endif return nullptr; } @@ -84,7 +84,7 @@ OwnPtr<Messages::ImageDecoderServer::DecodeImageResponse> ClientConnection::hand if (!bitmap) { #ifdef IMAGE_DECODER_DEBUG - dbg() << "Could not decode image from encoded data"; + dbgln("Could not decode image from encoded data"); #endif return make<Messages::ImageDecoderServer::DecodeImageResponse>(-1, Gfx::IntSize(), (i32)Gfx::BitmapFormat::Invalid, Vector<u32>()); } |