Commit c1b33533 authored by Max Kellermann's avatar Max Kellermann

event/ServerSocket: fix get_remote_uid() call

This call was broken since commit 9a5bcc6d because the `UniqueSocketDescriptor` had already been moved.
parent 66fcd25b
...@@ -163,8 +163,9 @@ OneServerSocket::Accept() noexcept ...@@ -163,8 +163,9 @@ OneServerSocket::Accept() noexcept
(const char *)msg); (const char *)msg);
} }
parent.OnAccept(std::move(peer_fd), peer_address, const auto uid = get_remote_uid(peer_fd.Get());
get_remote_uid(peer_fd.Get()));
parent.OnAccept(std::move(peer_fd), peer_address, uid);
} }
bool bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment