Skip to content

Commit

Permalink
Clean up dbg residue from clamping timeouts
Browse files Browse the repository at this point in the history
The dbg usage was accidentally checked in with 5043ce7.
  • Loading branch information
sirhcel committed Sep 1, 2024
1 parent 0768a94 commit 7291f2f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/posix/poll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ fn wait_fd(fd: RawFd, events: PollFlags, timeout: Duration) -> io::Result<()> {
Ok(r) => r,
Err(nix::Error::EINTR) => continue,
Err(nix::Error::EAGAIN) => continue,
Err(e) => {
dbg!(e);
return Err(io::Error::from(crate::Error::from(e)));
}
Err(e) => return Err(io::Error::from(crate::Error::from(e))),
};
break;
}
Expand Down

0 comments on commit 7291f2f

Please sign in to comment.