aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src/Auth.cpp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-27 14:23:39 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-27 14:23:39 +0200
commit9b94209f53782ecaf7084722ce90836573ceb86b (patch)
tree42354553aeeb29d9490a3120f0c5cd687cbad370 /nxcomp/src/Auth.cpp
parent91d9218c0cc659f40918af6ac6c035c6c48d2c6d (diff)
parent16f6803f1597788b3bebcfa15e8900d8420b54a4 (diff)
downloadnx-libs-9b94209f53782ecaf7084722ce90836573ceb86b.tar.gz
nx-libs-9b94209f53782ecaf7084722ce90836573ceb86b.tar.bz2
nx-libs-9b94209f53782ecaf7084722ce90836573ceb86b.zip
Merge branch 'uli42-pr/various9' into 3.6.x
Attributes GH PR #1029: https://github.com/ArcticaProject/nx-libs/pull/1029
Diffstat (limited to 'nxcomp/src/Auth.cpp')
-rw-r--r--nxcomp/src/Auth.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/nxcomp/src/Auth.cpp b/nxcomp/src/Auth.cpp
index aaca905de..b56e6f322 100644
--- a/nxcomp/src/Auth.cpp
+++ b/nxcomp/src/Auth.cpp
@@ -48,7 +48,7 @@
//
// Store the provided cookie as our 'fake' cookie, then
// read the 'real' cookie from the current X authority
-// file.
+// file.
//
Auth::Auth(char *display, char *cookie)
@@ -271,7 +271,7 @@ int Auth::getCookie()
// ferent cookie than the one for the Unix connections, both SSH and
// NX will match the wrong cookie and session will fail.
//
-
+
char line[DEFAULT_STRING_LIMIT];
FILE *data = NULL;
int result = -1;
@@ -377,7 +377,7 @@ int Auth::getCookie()
<< "'.\n" << logofs_flush;
#endif
- //
+ //
// Skip the hostname in the authority entry
// just in case it includes some white spaces.
//