diff options
Diffstat (limited to 'avahi-common/simple-watch.c')
-rw-r--r-- | avahi-common/simple-watch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/avahi-common/simple-watch.c b/avahi-common/simple-watch.c index b8a1b82..6531fb7 100644 --- a/avahi-common/simple-watch.c +++ b/avahi-common/simple-watch.c @@ -153,6 +153,7 @@ static AvahiWatch* watch_new(const AvahiPoll *api, int fd, AvahiWatchEvent event w->pollfd.fd = fd; w->pollfd.events = event; + w->pollfd.revents = 0; w->callback = callback; w->userdata = userdata; |