Fix another Windows compilation error.
This commit is contained in:
parent
c986c6b4ff
commit
2d6a4c85ca
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ impl OwnedSocket {
|
|||
|
||||
#[cfg(not(target_vendor = "uwp"))]
|
||||
pub(crate) fn set_no_inherit(&self) -> io::Result<()> {
|
||||
sys::cvt(unsafe {
|
||||
cvt(unsafe {
|
||||
c::SetHandleInformation(self.as_raw_socket() as c::HANDLE, c::HANDLE_FLAG_INHERIT, 0)
|
||||
})
|
||||
.map(drop)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue