mirror of
https://github.com/javalsai/lidm.git
synced 2026-02-27 12:00:44 +01:00
chore: clang-format
This commit is contained in:
@@ -110,7 +110,7 @@ static bool x_get_display(const int xorg_pipefd[2], int* display) {
|
|||||||
|
|
||||||
if (bytes_read > 0) {
|
if (bytes_read > 0) {
|
||||||
char* endptr;
|
char* endptr;
|
||||||
int val = (int) strtol(buffer, &endptr, 10);
|
int val = (int)strtol(buffer, &endptr, 10);
|
||||||
if (endptr == buffer) {
|
if (endptr == buffer) {
|
||||||
(void)fputs("failed to parse Xorg display response\n", stderr);
|
(void)fputs("failed to parse Xorg display response\n", stderr);
|
||||||
status = false;
|
status = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user