diff options
author | emersion <contact@emersion.fr> | 2018-01-21 22:16:55 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-21 22:18:06 +0100 |
commit | 59c53e8333cae17210832fb79514c4d0110c7de8 (patch) | |
tree | a2b06676b53f4f7ca075ce728155d0d442f69759 /backend/session/logind.c | |
parent | f704c3d42b80ad28bfd096e5467a5219c0778e3b (diff) | |
parent | e5fa4d8e8e6e81b0cdac9df2dcb1f589867c98f2 (diff) |
Merge remote-tracking branch 'upstream/master' into output-damage
Diffstat (limited to 'backend/session/logind.c')
-rw-r--r-- | backend/session/logind.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/session/logind.c b/backend/session/logind.c index 0b5b2a63..1ece051f 100644 --- a/backend/session/logind.c +++ b/backend/session/logind.c @@ -330,7 +330,9 @@ static bool add_signal_matches(struct logind_session *session) { static int dbus_event(int fd, uint32_t mask, void *data) { sd_bus *bus = data; - while (sd_bus_process(bus, NULL) > 0); + while (sd_bus_process(bus, NULL) > 0) { + // Do nothing. + } return 1; } |