From 53e77f5a91999db9d625880e03ca5c20c34cdda4 Mon Sep 17 00:00:00 2001 From: The 8472 Date: Sun, 16 Nov 2025 19:16:10 +0100 Subject: [PATCH] fix getsockopt generic argument in notsent_lowat --- src/sys/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }