summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2018-08-27 15:19:14 +0900
committerKoichiro IWAO <meta@vmeta.jp>2018-09-04 16:01:40 +0900
commitd6992cf62d505ceca712993e3854cd0289698d9e (patch)
tree2d650c998324188ce810a2977d28aab457ee141f /sesman
parent59f3a79fe430de3979c99a1bcdc74ee5b1990224 (diff)
downloadxrdp-proprietary-d6992cf62d505ceca712993e3854cd0289698d9e.tar.gz
xrdp-proprietary-d6992cf62d505ceca712993e3854cd0289698d9e.zip
sesman: add XRDP_ prefix to xrdp related environment variable
and remove CHANSRV, use the shorter name
Diffstat (limited to 'sesman')
-rw-r--r--sesman/env.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/env.c b/sesman/env.c
index 46d261d4..b097f38c 100644
--- a/sesman/env.c
+++ b/sesman/env.c
@@ -146,10 +146,10 @@ env_set_user(const char *username, char **passwd_file, int display,
g_setenv("XRDP_SOCKET_PATH", XRDP_SOCKET_PATH, 1);
/* pulse sink socket */
g_snprintf(text, sizeof(text) - 1, CHANSRV_PORT_OUT_BASE_STR, display);
- g_setenv("CHANSRV_PULSE_SINK_SOCKET", text, 1);
+ g_setenv("XRDP_PULSE_SINK_SOCKET", text, 1);
/* pulse source socket */
g_snprintf(text, sizeof(text) - 1, CHANSRV_PORT_IN_BASE_STR, display);
- g_setenv("CHANSRV_PULSE_SOURCE_SOCKET", text, 1);
+ g_setenv("XRDP_PULSE_SOURCE_SOCKET", text, 1);
if ((env_names != 0) && (env_values != 0) &&
(env_names->count == env_values->count))
{