Compare commits
2 Commits
b6282d82c6
...
8e66dc234e
Author | SHA1 | Date | |
---|---|---|---|
8e66dc234e | |||
2239788f86 |
@ -119,6 +119,7 @@ fn main() -> anyhow::Result<()> {
|
|||||||
}
|
}
|
||||||
let conn_fd = borrow_raw_fd(conn_fd);
|
let conn_fd = borrow_raw_fd(conn_fd);
|
||||||
|
|
||||||
|
|
||||||
let mut pfds = Vec::new();
|
let mut pfds = Vec::new();
|
||||||
pfds.push(PollFd::new(borrow_raw_fd(signal_fd.as_raw_fd()), PollFlags::POLLIN));
|
pfds.push(PollFd::new(borrow_raw_fd(signal_fd.as_raw_fd()), PollFlags::POLLIN));
|
||||||
pfds.push(PollFd::new(conn_fd.as_fd(), PollFlags::POLLIN));
|
pfds.push(PollFd::new(conn_fd.as_fd(), PollFlags::POLLIN));
|
||||||
|
Loading…
Reference in New Issue
Block a user