mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +00:00
TelnetServer: Use fallible version of StringBuilder::to_byte_buffer
This commit is contained in:
parent
cd4804ed1c
commit
058cc00837
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ ErrorOr<void> Client::send_data(StringView data)
|
|||
}
|
||||
}
|
||||
|
||||
auto builder_contents = builder.to_byte_buffer();
|
||||
auto builder_contents = TRY(builder.try_to_byte_buffer());
|
||||
TRY(m_socket->write(builder_contents));
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue