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 a0810cd commit 4af7d3dCopy full SHA for 4af7d3d
src/sys/unix.rs
@@ -1815,7 +1815,7 @@ impl crate::Socket {
1815
#[cfg(all(feature = "all", any(target_os = "android", target_os = "linux")))]
1816
pub fn tcp_notsent_lowat(&self) -> io::Result<u32> {
1817
unsafe {
1818
- getsockopt::<Bool>(self.as_raw(), libc::IPPROTO_TCP, libc::TCP_NOTSENT_LOWAT)
+ getsockopt::<c_int>(self.as_raw(), libc::IPPROTO_TCP, libc::TCP_NOTSENT_LOWAT)
1819
.map(|lowat| lowat as u32)
1820
}
1821
0 commit comments