]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Revert "tvhpoll: return correct fd in tvhpoll_wait() for linux's epoll"
authorJaroslav Kysela <perex@perex.cz>
Sun, 10 Dec 2017 15:36:48 +0000 (16:36 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 10 Dec 2017 15:36:48 +0000 (16:36 +0100)
This reverts commit ac07ce1a26b5161a87f96a7e9c9fe020c06c5b25.

src/tvhpoll.c

index f61a373d400657646ed327a53c135ca0466d95ba..4b8f119f3afb0d63c32e27f9308b9980896fd960 100644 (file)
@@ -198,7 +198,6 @@ int tvhpoll_wait
 #if ENABLE_EPOLL
   nfds = epoll_wait(tp->fd, tp->ev, num, ms);
   for (i = 0; i < nfds; i++) {
-    evs[i].fd       = tp->ev[i].data.fd;
     evs[i].data.u64 = tp->ev[i].data.u64;
     evs[i].events   = 0;
     if (tp->ev[i].events & EPOLLIN)  evs[i].events |= TVHPOLL_IN;