Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fancy2209 committed Dec 17, 2024
1 parent ec6c73b commit 4e9a894
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tokio/src/net/tcp/socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ impl TcpSocket {
target_os = "linux",
target_os = "netbsd",
target_os = "openbsd",
target_os = "haiku"
))]
let ty = ty.nonblocking();
let inner = socket2::Socket::new(domain, ty, Some(socket2::Protocol::TCP))?;
Expand All @@ -181,7 +180,6 @@ impl TcpSocket {
target_os = "linux",
target_os = "netbsd",
target_os = "openbsd",
target_os = "haiku"
)))]
inner.set_nonblocking(true)?;
Ok(TcpSocket { inner })
Expand Down

0 comments on commit 4e9a894

Please sign in to comment.