1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 01:27:11 +03:00

event: when we change the io events to watch we need to figure out if a an event is pending again

This commit is contained in:
Lennart Poettering 2013-11-20 16:39:22 +01:00
parent a99badf5ed
commit 503f39c35e

View File

@ -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;
}