mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibCore: Propagate errors from Stream::*_entire_buffer
This commit is contained in:
committed by
Andreas Kling
parent
6c7c5a6786
commit
9a3e95785e
@@ -21,7 +21,7 @@ bool WebSocketImplSerenity::can_read_line()
|
||||
|
||||
bool WebSocketImplSerenity::send(ReadonlyBytes bytes)
|
||||
{
|
||||
return m_socket->write_entire_buffer(bytes);
|
||||
return !m_socket->write_entire_buffer(bytes).is_error();
|
||||
}
|
||||
|
||||
bool WebSocketImplSerenity::eof()
|
||||
|
||||
Reference in New Issue
Block a user