diff options
author | emersion <contact@emersion.fr> | 2018-01-21 17:07:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-21 17:07:25 +0100 |
commit | 79f2c8719364529056229b99bf9e49a994699fe7 (patch) | |
tree | 1ed3838eb14d897ee67be35f7ab4045c0108d1fe /backend/session/logind.c | |
parent | 1fbd6cb0f0a517188aa17b57c3e116619d50f0bd (diff) | |
parent | 47eb478c35b109f520323af5013d47ad7ddc0824 (diff) |
Merge pull request #574 from jsshandle/master
Improve code style in accordance with CONTRIBUTING.md
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; } |