Fix the iomux_add/clear events. Also properly remember

the events in the IOMuxFD
This commit is contained in:
Nils O. Selåsdal
2015-05-12 19:21:57 +02:00
parent e517c33da9
commit 11939065fb
2 changed files with 16 additions and 11 deletions
+1
View File
@@ -151,6 +151,7 @@ int iomux_update_events(struct IOMux *mux, struct IOMuxFD *fd, unsigned int what
if (fd->what != what) {
fd->what = what;
rc = mux->ops.update_events_impl(mux, fd);
fd->what = what;
}
return rc;