From 802e46f8ea36c344f112d7e1dd8d64d17a4cc939 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Mon, 15 Sep 2025 12:59:37 +0200 Subject: Run clang-format again --- plugins/check_users.d/users.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins/check_users.d') diff --git a/plugins/check_users.d/users.c b/plugins/check_users.d/users.c index a8b168a0..f37819b1 100644 --- a/plugins/check_users.d/users.c +++ b/plugins/check_users.d/users.c @@ -23,7 +23,8 @@ get_num_of_users_wrapper get_num_of_users_windows() { LPTSTR username; DWORD size; - if (!WTSQuerySessionInformation(WTS_CURRENT_SERVER_HANDLE, wtsinfo[index].SessionId, WTSUserName, &username, &size)) { + if (!WTSQuerySessionInformation(WTS_CURRENT_SERVER_HANDLE, wtsinfo[index].SessionId, + WTSUserName, &username, &size)) { continue; } @@ -150,7 +151,8 @@ get_num_of_users_wrapper get_num_of_users_who_command() { /* check STDERR */ if (fgets(input_buffer, MAX_INPUT_BUFFER - 1, child_stderr)) { - // if this fails, something broke and the result can not be relied upon or so is the theorie here + // if this fails, something broke and the result can not be relied upon or so is the theorie + // here result.errorcode = STDERR_COULD_NOT_BE_READ; } (void)fclose(child_stderr); -- cgit v1.2.3-74-g34f1