mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
AK: Make dbgprintf() and dbgputstr() go to stderr on non-Serenity hosts
This commit is contained in:
parent
0d48fb9a87
commit
20e58c5513
2 changed files with 3 additions and 3 deletions
|
@ -182,7 +182,7 @@ ByteBuffer IODevice::read_line(size_t max_size)
|
|||
return {};
|
||||
if (m_eof) {
|
||||
if (m_buffered_data.size() > max_size) {
|
||||
dbgprintf("IODevice::read_line: At EOF but there's more than max_size(%d) buffered\n", max_size);
|
||||
dbgprintf("IODevice::read_line: At EOF but there's more than max_size(%zu) buffered\n", max_size);
|
||||
return {};
|
||||
}
|
||||
auto buffer = ByteBuffer::copy(m_buffered_data.data(), m_buffered_data.size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue