AK: Replace a write_or_error call with write.

Implicit conversions suck...
This commit is contained in:
asynts 2020-10-03 19:32:15 +02:00 committed by Andreas Kling
parent b33921531d
commit 1f90e4ab8d

View file

@ -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));
}