We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c986c6b commit 2d6a4c8Copy full SHA for 2d6a4c8
library/std/src/os/windows/io/socket.rs
@@ -126,7 +126,7 @@ impl OwnedSocket {
126
127
#[cfg(not(target_vendor = "uwp"))]
128
pub(crate) fn set_no_inherit(&self) -> io::Result<()> {
129
- sys::cvt(unsafe {
+ cvt(unsafe {
130
c::SetHandleInformation(self.as_raw_socket() as c::HANDLE, c::HANDLE_FLAG_INHERIT, 0)
131
})
132
.map(drop)
0 commit comments