From 9d64da9ed2e173209c34954287781fe6045551a3 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 6 May 2018 12:50:22 +0200 Subject: White-space clean-up. Remove whitespaces at EOL. --- src/pam-x2go.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pam-x2go.c') diff --git a/src/pam-x2go.c b/src/pam-x2go.c index 0d168f1..74ca68d 100644 --- a/src/pam-x2go.c +++ b/src/pam-x2go.c @@ -324,7 +324,7 @@ pam_sm_open_session (pam_handle_t *pamh, int flags, int argc, const char ** argv pid_t pid = fork(); if (pid == 0) { - + int ret = session_socket_handler(pwdent, sessionready[1], ruser, rhost, rcommand, password); close(sessionready[1]); @@ -379,7 +379,7 @@ done: return retval; } -/* Drop privs and try to kill the process with the PID of session_pid. +/* Drop privs and try to kill the process with the PID of session_pid. This ensures that we don't kill something important if there is PID wrap around. */ static int @@ -415,7 +415,7 @@ unpriveleged_kill (struct passwd * pwdent) track that but there are a lot of reason that we could fail there and it's not a bad thing. Really we're attempting a best effort to clean up we won't be able to guarantee it. */ - _exit(EXIT_SUCCESS); + _exit(EXIT_SUCCESS); } else if (pid < 0) { retval = PAM_SYSTEM_ERR; } else { -- cgit v1.2.3