diff options
author | Alexander Narsudinov <a.narsudinov@gmail.com> | 2022-12-18 00:15:54 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-20 10:45:20 +0100 |
commit | 767529ebf5b0108296428cdd2c45de50c3a29176 (patch) | |
tree | 676c6fe86c72f2218a1a2a56287355484fa7b195 /Userland/Services/LookupServer/LookupServer.cpp | |
parent | 9ae9d82a033c4f893d2a58c178d6a6e73e8d2b63 (diff) | |
download | serenity-767529ebf5b0108296428cdd2c45de50c3a29176.zip |
LibCore: Make UDPServer::receive() return ErrorOr<ByteBuffer>
This is a first step towards handling OOM errors instead of just
crashing the program.
Now UDPServer's method `receive()` return memory allocation
errors explicitly with help of ErrorOr.
This removes one FIXME and make a bunch of new ones. :(
Diffstat (limited to 'Userland/Services/LookupServer/LookupServer.cpp')
0 files changed, 0 insertions, 0 deletions