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:
parent
66fcd25b7e
commit
c1b33533da
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user