diff --git a/src/iomux_impl.c b/src/iomux_impl.c index a577b5b..ae3a083 100644 --- a/src/iomux_impl.c +++ b/src/iomux_impl.c @@ -149,6 +149,7 @@ int iomux_update_events(struct IOMux *mux, struct IOMuxFD *fd, unsigned int what assert(fd->fd >= 0); if (fd->what != what) { + fd->what = what; rc = mux->ops.update_events_impl(mux, fd); }