diff options
| author | Johannes Schramm <handle@jss.de> | 2018-01-21 16:28:21 +0100 | 
|---|---|---|
| committer | Johannes Schramm <handle@jss.de> | 2018-01-21 16:28:21 +0100 | 
| commit | dcc743047b903af8ba409ed25745f891234dc323 (patch) | |
| tree | 55328b8787123fa47cfc90e52f875a15b41045fe /backend/session/logind.c | |
| parent | 1fbd6cb0f0a517188aa17b57c3e116619d50f0bd (diff) | |
| download | wlroots-dcc743047b903af8ba409ed25745f891234dc323.tar.xz | |
style: include brackets for if/while/for, even if it's a single statement
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..aa38b46c 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) { +		; +	}  	return 1;  } | 
