mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:37:37 +00:00
AK: Add missing Bytes::slice call in Buffered<T>.
This commit is contained in:
parent
00f47bba23
commit
9f00afd8cd
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ public:
|
|||
flush();
|
||||
|
||||
if (bytes.size() - nwritten >= Size)
|
||||
nwritten += m_stream.write_or_error(bytes);
|
||||
nwritten += m_stream.write_or_error(bytes.slice(nwritten));
|
||||
|
||||
nwritten += write(bytes.slice(nwritten));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue