mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:17:35 +00:00
LibDNS: Use AllocatingMemoryStream
in DNS package construction
This commit is contained in:
parent
202175cf4c
commit
87c64834ca
8 changed files with 31 additions and 28 deletions
|
@ -62,7 +62,7 @@ ErrorOr<void> DNSServer::handle_client()
|
|||
else
|
||||
response.set_code(Packet::Code::NOERROR);
|
||||
|
||||
buffer = response.to_byte_buffer();
|
||||
buffer = TRY(response.to_byte_buffer());
|
||||
|
||||
TRY(send(buffer, client_address));
|
||||
return {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue