SocketFd::get_pending_error bugfix
GitOrigin-RevId: e0596cec033a162fbca15a14f078c6a9cdbd8ff5
This commit is contained in:
parent
81c0afafa3
commit
8108dda1d9
@ -433,7 +433,7 @@ class SocketFdImpl {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Status get_pending_error() {
|
Status get_pending_error() {
|
||||||
if (get_poll_info().get_flags().has_pending_error()) {
|
if (!get_poll_info().get_flags().has_pending_error()) {
|
||||||
return Status::OK();
|
return Status::OK();
|
||||||
}
|
}
|
||||||
TRY_STATUS(detail::get_socket_pending_error(get_native_fd()));
|
TRY_STATUS(detail::get_socket_pending_error(get_native_fd()));
|
||||||
|
Reference in New Issue
Block a user