]> granicus.if.org Git - libevent/commitdiff
r14744@tombo: nickm | 2007-11-06 21:30:11 -0500
authorNick Mathewson <nickm@torproject.org>
Wed, 7 Nov 2007 02:30:17 +0000 (02:30 +0000)
committerNick Mathewson <nickm@torproject.org>
Wed, 7 Nov 2007 02:30:17 +0000 (02:30 +0000)
 Fix coding error: patch from Charles Kerr.

svn:r483

epoll.c

diff --git a/epoll.c b/epoll.c
index 37b09eb94fb9ac1d9e420697a9160d9039af1ad7..5afc83071e8562fcd22a084eba189beb1050c3b7 100644 (file)
--- a/epoll.c
+++ b/epoll.c
@@ -214,8 +214,8 @@ epoll_dispatch(struct event_base *base, void *arg, struct timeval *tv)
                evep = (struct evepoll *)events[i].data.ptr;
 
                if (what & (EPOLLHUP|EPOLLERR)) {
-                       evread = &evep->evread;
-                       evwrite = &evep->evwrite;
+                       evread = evep->evread;
+                       evwrite = evep->evwrite;
                } else {
                        if (what & EPOLLIN) {
                                evread = evep->evread;