Skip to content

Commit 2d6a4c8

Browse files
committed
Fix another Windows compilation error.
1 parent c986c6b commit 2d6a4c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/os/windows/io/socket.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ impl OwnedSocket {
126126

127127
#[cfg(not(target_vendor = "uwp"))]
128128
pub(crate) fn set_no_inherit(&self) -> io::Result<()> {
129-
sys::cvt(unsafe {
129+
cvt(unsafe {
130130
c::SetHandleInformation(self.as_raw_socket() as c::HANDLE, c::HANDLE_FLAG_INHERIT, 0)
131131
})
132132
.map(drop)

0 commit comments

Comments
 (0)