Loading openssl/src/ssl/tests/mod.rs +6 −5 Original line number Diff line number Diff line Loading @@ -169,9 +169,10 @@ impl Write for UdpConnected { #[cfg(windows)] fn write(&mut self, buf: &[u8]) -> io::Result<usize> { use std::os::windows::prelude::*; use libc; use ws2_32; let n = unsafe { libc::send(self.0.as_raw_socket(), ws2_32::send(self.0.as_raw_socket(), buf.as_ptr() as *const _, buf.len() as libc::c_int, 0) Loading Loading
openssl/src/ssl/tests/mod.rs +6 −5 Original line number Diff line number Diff line Loading @@ -169,9 +169,10 @@ impl Write for UdpConnected { #[cfg(windows)] fn write(&mut self, buf: &[u8]) -> io::Result<usize> { use std::os::windows::prelude::*; use libc; use ws2_32; let n = unsafe { libc::send(self.0.as_raw_socket(), ws2_32::send(self.0.as_raw_socket(), buf.as_ptr() as *const _, buf.len() as libc::c_int, 0) Loading