aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-11 13:50:57 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-11 13:50:57 +0100
commit9edb1437e2a19dd966696c36518503a9e1c21e2f (patch)
tree6839c2b19fb42755cbc59173108de5795b58eeda
parentc4dbf5d89df4828137aeb5fc3bc8d9d0bf28a471 (diff)
downloadlibpam-x2go-9edb1437e2a19dd966696c36518503a9e1c21e2f.tar.gz
libpam-x2go-9edb1437e2a19dd966696c36518503a9e1c21e2f.tar.bz2
libpam-x2go-9edb1437e2a19dd966696c36518503a9e1c21e2f.zip
replace EOL by \n
-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 67d3af1..77be8a2 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%s%s", ruser, rhost, rsession, password, EOL, EOF);
+ buffer_fill = snprintf(buffer, buffer_len, "%s %s %s %s\n%s", ruser, rhost, rsession, password, 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