diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-12-07 10:52:54 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-12-07 10:52:54 +0100 |
commit | 7099005f38ff72fa5de5f245eb15077d8708efd6 (patch) | |
tree | d36ed5a050e51e3a08214eefde036176a39b9b7e /src/pam-freerdp-children.c | |
parent | ba427b6fd4b84e9f20c016c949f526dbe2893e94 (diff) | |
download | libpam-freerdp2-7099005f38ff72fa5de5f245eb15077d8708efd6.tar.gz libpam-freerdp2-7099005f38ff72fa5de5f245eb15077d8708efd6.tar.bz2 libpam-freerdp2-7099005f38ff72fa5de5f245eb15077d8708efd6.zip |
Continue development of libpam-freerdp under the name libpam-freerdp2 (with support of FreeRDPv2 API).
Diffstat (limited to 'src/pam-freerdp-children.c')
-rw-r--r-- | src/pam-freerdp-children.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pam-freerdp-children.c b/src/pam-freerdp-children.c index ea29c14..3adc068 100644 --- a/src/pam-freerdp-children.c +++ b/src/pam-freerdp-children.c @@ -172,7 +172,7 @@ session_socket_handler (struct passwd * pwdent, int readypipe, const char * ruse memset(&socket_addr, 0, sizeof(struct sockaddr_un)); socket_addr.sun_family = AF_UNIX; strncpy(socket_addr.sun_path, pwdent->pw_dir, sizeof(socket_addr.sun_path) - 1); - strncpy(socket_addr.sun_path + strlen(pwdent->pw_dir), "/.freerdp-socket", (sizeof(socket_addr.sun_path) - strlen(pwdent->pw_dir)) - 1); + strncpy(socket_addr.sun_path + strlen(pwdent->pw_dir), "/.freerdp2-socket", (sizeof(socket_addr.sun_path) - strlen(pwdent->pw_dir)) - 1); /* We bind the socket before forking so that we ensure that there isn't a race condition to get to it. Things will block |