Check events on right handler

SVN revision: 54208
This commit is contained in:
Sebastian Dransfeld 2010-11-06 01:23:01 +00:00
parent bc8a34b688
commit 8706b49355
1 changed files with 3 additions and 3 deletions

View File

@ -326,9 +326,9 @@ static inline int _ecore_main_fdh_poll_mark_active(void)
ERR("deleted fd in epoll");
continue;
}
if (ev->events & EPOLLIN) fdh->read_active = 1;
if (ev->events & EPOLLOUT) fdh->write_active = 1;
if (ev->events & EPOLLERR) fdh->error_active = 1;
if (ev[i].events & EPOLLIN) fdh->read_active = 1;
if (ev[i].events & EPOLLOUT) fdh->write_active = 1;
if (ev[i].events & EPOLLERR) fdh->error_active = 1;
}
return ret;