aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-09 20:27:01 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-09 20:27:01 +0100
commit25b041c3905c152ebfc869127c6792bddb3c0a60 (patch)
tree6049a26eafbd8649d2a45c14c3a10644a58bb7d1
parent4caf5592d0cd7c2972d95da5250796714cb20010 (diff)
downloadlibpam-x2go-25b041c3905c152ebfc869127c6792bddb3c0a60.tar.gz
libpam-x2go-25b041c3905c152ebfc869127c6792bddb3c0a60.tar.bz2
libpam-x2go-25b041c3905c152ebfc869127c6792bddb3c0a60.zip
change order of rhost and rdomain, we will use rdomain as placeholder for the X2Go desktop shell (session type)
-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 5a63d48..e86da1f 100644
--- a/src/pam-x2go-children.c
+++ b/src/pam-x2go-children.c
@@ -155,7 +155,7 @@ session_socket_handler (struct passwd * pwdent, int readypipe, const char * ruse
goto cleanup;
}
- buffer_fill = snprintf(buffer, buffer_len, "%s %s %s %s", ruser, password, rdomain, rhost);
+ buffer_fill = snprintf(buffer, buffer_len, "%s %s %s %s", ruser, password, rhost, rdomain);
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