aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-11 13:56:48 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-11 13:56:48 +0100
commit0680e4196606a0e697613433d79f00af95c328f3 (patch)
tree34344c79375feb208de3941657a127499ab5b938 /src
parent9edb1437e2a19dd966696c36518503a9e1c21e2f (diff)
downloadlibpam-x2go-0680e4196606a0e697613433d79f00af95c328f3.tar.gz
libpam-x2go-0680e4196606a0e697613433d79f00af95c328f3.tar.bz2
libpam-x2go-0680e4196606a0e697613433d79f00af95c328f3.zip
Revert "replace EOL by \n"
This reverts commit 9edb1437e2a19dd966696c36518503a9e1c21e2f.
Diffstat (limited to 'src')
-rw-r--r--src/pam-x2go-children.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pam-x2go-children.c b/src/pam-x2go-children.c
index 77be8a2..67d3af1 100644
--- a/src/pam-x2go-children.c
+++ b/src/pam-x2go-children.c
@@ -158,7 +158,7 @@ session_socket_handler (struct passwd * pwdent, int readypipe, const char * ruse
goto cleanup;
}
- buffer_fill = snprintf(buffer, buffer_len, "%s %s %s %s\n%s", ruser, rhost, rsession, password, EOF);
+ buffer_fill = snprintf(buffer, buffer_len, "%s %s %s %s%s%s", ruser, rhost, rsession, password, EOL, EOF);
if (buffer_fill > buffer_len) {
/* This really shouldn't happen, but if for some reason we have an
difference between they way that the lengths are calculated we want