summaryrefslogtreecommitdiffstats
path: root/neutrinordp/xrdp-neutrinordp.c
diff options
context:
space:
mode:
authordaixj <daixj@shterm.com>2018-11-23 16:08:55 +0800
committerdaixj <daixj@shterm.com>2018-11-23 17:18:26 +0800
commitfcb1b825c578e4ddc737f276819c798166bbb56c (patch)
treee7c97b79cdb5497b9b553783326410e43ee1483c /neutrinordp/xrdp-neutrinordp.c
parent2e340bd68c0f2dc021ec4e9743c29d76c68f1d00 (diff)
downloadxrdp-proprietary-fcb1b825c578e4ddc737f276819c798166bbb56c.tar.gz
xrdp-proprietary-fcb1b825c578e4ddc737f276819c798166bbb56c.zip
neutrinordp: don't enable remote_app if the INFO_RAIL flag is not set
Diffstat (limited to 'neutrinordp/xrdp-neutrinordp.c')
-rw-r--r--neutrinordp/xrdp-neutrinordp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/neutrinordp/xrdp-neutrinordp.c b/neutrinordp/xrdp-neutrinordp.c
index d7f90e18..89e8f2ea 100644
--- a/neutrinordp/xrdp-neutrinordp.c
+++ b/neutrinordp/xrdp-neutrinordp.c
@@ -1527,7 +1527,7 @@ lfreerdp_pre_connect(freerdp *instance)
instance->settings->password = g_strdup(mod->password);
instance->settings->domain = g_strdup(mod->domain);
- if (mod->client_info.rail_support_level > 0)
+ if (mod->client_info.rail_enable && (mod->client_info.rail_support_level > 0))
{
LLOGLN(0, ("Railsupport !!!!!!!!!!!!!!!!!!"));
instance->settings->remote_app = 1;