summaryrefslogtreecommitdiff
path: root/Userland/Services/LookupServer/LookupServer.cpp
diff options
context:
space:
mode:
authorAlexander Narsudinov <a.narsudinov@gmail.com>2022-12-18 00:15:54 +0300
committerAndreas Kling <kling@serenityos.org>2022-12-20 10:45:20 +0100
commit767529ebf5b0108296428cdd2c45de50c3a29176 (patch)
tree676c6fe86c72f2218a1a2a56287355484fa7b195 /Userland/Services/LookupServer/LookupServer.cpp
parent9ae9d82a033c4f893d2a58c178d6a6e73e8d2b63 (diff)
downloadserenity-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