tevent: unify handling of HAS_EVENT and REPORT_ERROR in epoll_{add,mod,del}_event()
commit2721f0dc5b35aa4961d801c2377a951cd63ecee1
authorStefan Metzmacher <metze@samba.org>
Wed, 20 Feb 2013 16:38:10 +0000 (20 17:38 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 1 Mar 2013 20:00:52 +0000 (1 12:00 -0800)
tree6399bc23be44c92c3e9a78ec35761f025097a5c9
parentec9615c4fcbe15de1b0c16ccc6a52fa3ffb65b48
tevent: unify handling of HAS_EVENT and REPORT_ERROR in epoll_{add,mod,del}_event()

epoll_{add,mod,del}_event() are only called via epoll_update_event()
and epoll_update_event() should not remove REPORT_ERROR itself.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/tevent/tevent_epoll.c