diff --git a/src/sys/unix.rs b/src/sys/unix.rs index 2bd9736a..28a06ddc 100644 --- a/src/sys/unix.rs +++ b/src/sys/unix.rs @@ -1815,7 +1815,7 @@ impl crate::Socket { #[cfg(all(feature = "all", any(target_os = "android", target_os = "linux")))] pub fn tcp_notsent_lowat(&self) -> io::Result { unsafe { - getsockopt::(self.as_raw(), libc::IPPROTO_TCP, libc::TCP_NOTSENT_LOWAT) + getsockopt::(self.as_raw(), libc::IPPROTO_TCP, libc::TCP_NOTSENT_LOWAT) .map(|lowat| lowat as u32) } }