mirror of https://github.com/stjepang/smol
Fix compilation error
This commit is contained in:
parent
b5cc4c433d
commit
ab9c9d9e4e
|
@ -254,7 +254,7 @@ impl ReactorLock<'_> {
|
|||
// The timeout was hit so fire ready timers.
|
||||
Ok(0) => {
|
||||
self.reactor.fire_timers();
|
||||
return Ok(());
|
||||
Ok(())
|
||||
}
|
||||
|
||||
// At least one I/O event occured.
|
||||
|
@ -481,7 +481,7 @@ mod sys {
|
|||
libc::EPOLLIN | libc::EPOLLRDHUP | libc::EPOLLHUP | libc::EPOLLERR | libc::EPOLLPRI
|
||||
}
|
||||
fn write_flags() -> EpollFlags {
|
||||
libc::EPOLLOUT | libc::EPOLLHUP | libc::EPOLLER
|
||||
libc::EPOLLOUT | libc::EPOLLHUP | libc::EPOLLERR
|
||||
}
|
||||
|
||||
pub struct Events {
|
||||
|
|
Loading…
Reference in New Issue