mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:57:44 +00:00
AK: Replace a write_or_error call with write.
Implicit conversions suck...
This commit is contained in:
parent
b33921531d
commit
1f90e4ab8d
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ public:
|
||||||
flush();
|
flush();
|
||||||
|
|
||||||
if (bytes.size() - nwritten >= Size)
|
if (bytes.size() - nwritten >= Size)
|
||||||
nwritten += m_stream.write_or_error(bytes.slice(nwritten));
|
nwritten += m_stream.write(bytes.slice(nwritten));
|
||||||
|
|
||||||
nwritten += write(bytes.slice(nwritten));
|
nwritten += write(bytes.slice(nwritten));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue