aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/nxauth/process.c
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 /nx-X11/programs/nxauth/process.c
parentd90fd5d13f13672c1b338f60fb47b576548b6f10 (diff)
downloadnx-libs-fea16d7bb7802ec2c37feed970f8ee47851fb587.tar.gz
nx-libs-fea16d7bb7802ec2c37feed970f8ee47851fb587.tar.bz2
nx-libs-fea16d7bb7802ec2c37feed970f8ee47851fb587.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
Diffstat (limited to 'nx-X11/programs/nxauth/process.c')
-rw-r--r--nx-X11/programs/nxauth/process.c2
1 files changed, 1 insertions, 1 deletions
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