diff options
author | BLINDAUER Emmanuel <e.blindauer@gmail.com> | 2016-12-14 08:28:25 +0100 |
---|---|---|
committer | BLINDAUER Emmanuel <e.blindauer@gmail.com> | 2016-12-14 08:28:25 +0100 |
commit | 7d1fdd04b56ab2c2849596f52f6976d9e3c4175a (patch) | |
tree | 3b8c683fb0af472f767b2fdb0e550f949368276c /sesman/session.c | |
parent | 16b6471d880df9185a87bac983685ff8fd1c959f (diff) | |
download | xrdp-proprietary-7d1fdd04b56ab2c2849596f52f6976d9e3c4175a.tar.gz xrdp-proprietary-7d1fdd04b56ab2c2849596f52f6976d9e3c4175a.zip |
Cosmetic change: follow coding standard
Diffstat (limited to 'sesman/session.c')
-rw-r--r-- | sesman/session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/session.c b/sesman/session.c index 81276a91..6c4b8d1a 100644 --- a/sesman/session.c +++ b/sesman/session.c @@ -680,7 +680,7 @@ session_start_fork(tbus data, tui8 type, struct SCP_SESSION *s) g_setenv("XRDP_SESMAN_KILL_DISCONNECTED", text, 1); /* prepare the Xauthority stuff */ - if (g_getenv("XAUTHORITY") !=NULL) + if (g_getenv("XAUTHORITY") != NULL) { g_snprintf(authfile, 255, "%s", g_getenv("XAUTHORITY")); } @@ -695,7 +695,7 @@ session_start_fork(tbus data, tui8 type, struct SCP_SESSION *s) g_random((char *) &cookie_tmpval, 1); sprintf(&cookie[i], "%02X", cookie_tmpval & 0xff); } - cookie[32]='\0'; + cookie[32] = '\0'; /* Add the entry in XAUTORITY file */ env_add_xauth_user(display, cookie, NULL); |