chiark / gitweb /
event: when we change the io events to watch we need to figure out if a an event...
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Nov 2013 15:39:22 +0000 (16:39 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 20 Nov 2013 19:58:17 +0000 (20:58 +0100)
src/libsystemd-bus/sd-event.c

index eab92bd..55a8546 100644 (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;
 }