Fix iomux_update_events(), it didn't actually update the events !

This commit is contained in:
Nils O. Selåsdal
2015-11-10 18:03:31 +01:00
parent faced685be
commit 00b344e142
+1 -1
View File
@@ -149,8 +149,8 @@ int iomux_update_events(struct IOMux *mux, struct IOMuxFD *fd, unsigned int what
assert(fd->fd >= 0); assert(fd->fd >= 0);
if (fd->what != what) { if (fd->what != what) {
rc = mux->ops.update_events_impl(mux, fd);
fd->what = what; fd->what = what;
rc = mux->ops.update_events_impl(mux, fd);
} }
return rc; return rc;