tvheadend/tvheadend — pull request #287 by decke (2013-07-26 17:05:40+00:00)
Title: tvhpoll: Various kqueue fixes for FreeBSD

- kqueue filters are not bitmasks so we need to treat them a bit different
- Properly check timeout because default value is -1
- Use correct variable kevent.filter to detect which event was triggered
- Fix building on FreeBSD i386