mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 00:56:14 +00:00
LibCore: Change the signature of Socket::send() to use Span.
This commit is contained in:
@@ -215,7 +215,7 @@ void IRCClient::process_line(ByteBuffer&& line)
|
||||
|
||||
void IRCClient::send(const String& text)
|
||||
{
|
||||
if (!m_socket->send(ByteBuffer::wrap(text.characters(), text.length()))) {
|
||||
if (!m_socket->send(text.bytes())) {
|
||||
perror("send");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user