From 00b344e14208a39948b76994c698b50f4ff2fcf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Tue, 10 Nov 2015 18:03:31 +0100 Subject: [PATCH] Fix iomux_update_events(), it didn't actually update the events ! --- src/iomux_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iomux_impl.c b/src/iomux_impl.c index e30f178..ae3a083 100644 --- a/src/iomux_impl.c +++ b/src/iomux_impl.c @@ -149,8 +149,8 @@ int iomux_update_events(struct IOMux *mux, struct IOMuxFD *fd, unsigned int what assert(fd->fd >= 0); if (fd->what != what) { - rc = mux->ops.update_events_impl(mux, fd); fd->what = what; + rc = mux->ops.update_events_impl(mux, fd); } return rc;