mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-14 20:03:29 +00:00
AK: Replace a write_or_error call with write.
Implicit conversions suck...
This commit is contained in:
parent
b33921531d
commit
1f90e4ab8d
|
@ -178,7 +178,7 @@ public:
|
|||
flush();
|
||||
|
||||
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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue