Fix | vs. |= typo

This commit is contained in:
Julien BLACHE 2010-06-21 19:18:52 +02:00
parent 3b7a71527a
commit 691e6a8c93
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ _ev_watch_add(AvahiWatch *w, int fd, AvahiWatchEvent a_events)
if (a_events & AVAHI_WATCH_IN) if (a_events & AVAHI_WATCH_IN)
ev_events |= EV_READ; ev_events |= EV_READ;
if (a_events & AVAHI_WATCH_OUT) if (a_events & AVAHI_WATCH_OUT)
ev_events | EV_WRITE; ev_events |= EV_WRITE;
event_set(&w->ev, fd, ev_events, evcb_watch, w); event_set(&w->ev, fd, ev_events, evcb_watch, w);
event_base_set(evbase_main, &w->ev); event_base_set(evbase_main, &w->ev);