diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2016-06-03 17:46:29 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2016-06-03 17:46:29 +0200 |
commit | ce1c5cecc04140091ed5691d326e357b79764341 (patch) | |
tree | 709fcd4fb8386ff96ebe54fc6c7c43ec46f5f6fe | |
parent | a5c6b2653ecaf55a293a3eb93bb7bb8db4afec7b (diff) |
clang-format-3.5
Not sure why travis didn’t warn about this on the PR. The only reference
to the PR I can find is https://travis-ci.org/i3/i3lock/builds/130470377
-rw-r--r-- | i3lock.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -636,10 +636,10 @@ static void maybe_close_sleep_lock_fd(void) { const char *sleep_lock_fd = getenv("XSS_SLEEP_LOCK_FD"); char *endptr; if (sleep_lock_fd && *sleep_lock_fd != 0) { - long int fd = strtol(sleep_lock_fd, &endptr, 10); - if (*endptr == 0) { - close(fd); - } + long int fd = strtol(sleep_lock_fd, &endptr, 10); + if (*endptr == 0) { + close(fd); + } } } |