event/ServerSocket: fix get_remote_uid() call

This call was broken since commit
9a5bcc6db0 because the
`UniqueSocketDescriptor` had already been moved.
This commit is contained in:
Max Kellermann 2018-08-09 13:22:25 +02:00
parent 66fcd25b7e
commit c1b33533da

View File

@ -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