From 503f39c35e0fd7ba23649ec14044e195594e3347 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 20 Nov 2013 16:39:22 +0100 Subject: event: when we change the io events to watch we need to figure out if a an event is pending again --- src/libsystemd-bus/sd-event.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libsystemd-bus') diff --git a/src/libsystemd-bus/sd-event.c b/src/libsystemd-bus/sd-event.c index eab92bded0..55a8546089 100644 --- a/src/libsystemd-bus/sd-event.c +++ b/src/libsystemd-bus/sd-event.c @@ -1027,6 +1027,7 @@ _public_ int sd_event_source_set_io_events(sd_event_source *s, uint32_t events) } s->io.events = events; + source_set_pending(s, false); return 0; } -- cgit v1.2.3-54-g00ecf