diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-20 16:39:22 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-20 20:58:17 +0100 |
commit | 503f39c35e0fd7ba23649ec14044e195594e3347 (patch) | |
tree | 286ae086a557df0f4e4107651ff70e6650495601 /src/libsystemd-bus/sd-event.c | |
parent | a99badf5ed3b2207a19f5b44c549c5e7584dfd83 (diff) |
event: when we change the io events to watch we need to figure out if a an event is pending again
Diffstat (limited to 'src/libsystemd-bus/sd-event.c')
-rw-r--r-- | src/libsystemd-bus/sd-event.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |