aboutsummaryrefslogtreecommitdiff
path: root/src/pam-x2go.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-06 12:50:22 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-06 12:50:22 +0200
commit9d64da9ed2e173209c34954287781fe6045551a3 (patch)
tree890a9a81042765b673daa1329334a212ec72b815 /src/pam-x2go.c
parentbd832ce81c1f9e6b1d69374c79014b79a85cd578 (diff)
downloadlibpam-x2go-9d64da9ed2e173209c34954287781fe6045551a3.tar.gz
libpam-x2go-9d64da9ed2e173209c34954287781fe6045551a3.tar.bz2
libpam-x2go-9d64da9ed2e173209c34954287781fe6045551a3.zip
White-space clean-up. Remove whitespaces at EOL.
Diffstat (limited to 'src/pam-x2go.c')
-rw-r--r--src/pam-x2go.c6
1 files changed, 3 insertions, 3 deletions
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 {