Commit 905db05c authored by Max Kellermann's avatar Max Kellermann

zeroconf/AvahiPoll: don't pass ERROR|HANGUP to Schedule()

These flags are output-only.
parent 4242aee2
......@@ -26,9 +26,7 @@ static unsigned
FromAvahiWatchEvent(AvahiWatchEvent e)
{
return (e & AVAHI_WATCH_IN ? SocketMonitor::READ : 0) |
(e & AVAHI_WATCH_OUT ? SocketMonitor::WRITE : 0) |
(e & AVAHI_WATCH_ERR ? SocketMonitor::ERROR : 0) |
(e & AVAHI_WATCH_HUP ? SocketMonitor::HANGUP : 0);
(e & AVAHI_WATCH_OUT ? SocketMonitor::WRITE : 0);
}
static AvahiWatchEvent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment