mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 13:04:23 -04:00
r14744@tombo: nickm | 2007-11-06 21:30:11 -0500
Fix coding error: patch from Charles Kerr. svn:r483
This commit is contained in:
parent
a527151846
commit
3c1bbca672
4
epoll.c
4
epoll.c
@ -214,8 +214,8 @@ epoll_dispatch(struct event_base *base, void *arg, struct timeval *tv)
|
|||||||
evep = (struct evepoll *)events[i].data.ptr;
|
evep = (struct evepoll *)events[i].data.ptr;
|
||||||
|
|
||||||
if (what & (EPOLLHUP|EPOLLERR)) {
|
if (what & (EPOLLHUP|EPOLLERR)) {
|
||||||
evread = &evep->evread;
|
evread = evep->evread;
|
||||||
evwrite = &evep->evwrite;
|
evwrite = evep->evwrite;
|
||||||
} else {
|
} else {
|
||||||
if (what & EPOLLIN) {
|
if (what & EPOLLIN) {
|
||||||
evread = evep->evread;
|
evread = evep->evread;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user