mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
AK: Replace a write_or_error call with write.
Implicit conversions suck...
This commit is contained in:
parent
b33921531d
commit
1f90e4ab8d
Notes:
sideshowbarker
2024-07-19 02:05:06 +09:00
Author: https://github.com/asynts Commit: https://github.com/SerenityOS/serenity/commit/1f90e4ab8de Pull-request: https://github.com/SerenityOS/serenity/pull/3677 Issue: https://github.com/SerenityOS/serenity/issues/3666 Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 1 deletions
|
@ -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