projects
/
platform
/
upstream
/
avahi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4cbc73
)
### BACKPORT ###
author
Lennart Poettering
<lennart@poettering.net>
Mon, 3 Oct 2005 22:55:40 +0000
(22:55 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 3 Oct 2005 22:55:40 +0000
(22:55 +0000)
* Fix a hard to trigger bug where events are dispatched that didn't happen in the first place.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@682
941a03a8
-eaeb-0310-b9a0-
b1bbd8fe43fe
avahi-common/simple-watch.c
patch
|
blob
|
history
diff --git
a/avahi-common/simple-watch.c
b/avahi-common/simple-watch.c
index
b8a1b82
..
6531fb7
100644
(file)
--- 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;