mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 10:30:47 +00:00
Fix fd handlers in loop
This commit is contained in:
@@ -68,6 +68,7 @@ void loop_add_fd(int fd, FdHandler handler, int events) {
|
||||
|
||||
fds[fdindex].fd = fd;
|
||||
fds[fdindex].events = events;
|
||||
fdHandlers[fdindex] = handler;
|
||||
}
|
||||
|
||||
void loop_remove_fd(int fd) {
|
||||
|
||||
Reference in New Issue
Block a user