aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-10-10 17:51:57 +0200
committerReinhard Tartler <siretart@tauware.de>2011-10-10 17:51:57 +0200
commitfea16d7bb7802ec2c37feed970f8ee47851fb587 (patch)
tree5fd4633c2a42c2fff33654527fd1ba10fa521dbf
parentd90fd5d13f13672c1b338f60fb47b576548b6f10 (diff)
downloadnx-libs-nxauth/3.4.0-3.tar.gz
nx-libs-nxauth/3.4.0-3.tar.bz2
nx-libs-nxauth/3.4.0-3.zip
Imported nxauth-3.4.0-3.tar.gznxauth/3.4.0-3
Summary: Imported nxauth-3.4.0-3.tar.gz Keywords: Imported nxauth-3.4.0-3.tar.gz into Git repository
-rw-r--r--nx-X11/programs/nxauth/CHANGELOG5
-rw-r--r--nx-X11/programs/nxauth/process.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/nx-X11/programs/nxauth/CHANGELOG b/nx-X11/programs/nxauth/CHANGELOG
index 335b73153..39ccedd41 100644
--- a/nx-X11/programs/nxauth/CHANGELOG
+++ b/nx-X11/programs/nxauth/CHANGELOG
@@ -1,5 +1,10 @@
ChangeLog:
+nxauth-3.4.0-3
+
+- Updated the launchd socket detection to support OSX versions relea-
+ sed so far.
+
nxauth-3.4.0-2
- Updated copyright to year 2010.
diff --git a/nx-X11/programs/nxauth/process.c b/nx-X11/programs/nxauth/process.c
index 90fb23fc4..57090e23e 100644
--- a/nx-X11/programs/nxauth/process.c
+++ b/nx-X11/programs/nxauth/process.c
@@ -513,7 +513,7 @@ get_displayname_auth(char *displayname, Xauth *auth)
*/
if (strncmp (displayname, "/tmp/launch", 11) == 0)
- displayname = strrchr(displayname, '/') + 1;
+ displayname = strrchr(displayname, ':');
#endif