summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2017-06-05 16:31:09 +0900
committermetalefty <meta@vmeta.jp>2017-06-06 10:04:48 +0900
commit0e7844ab02f3a513acf3fcbf557b388f3601486f (patch)
tree2a7bae49d555fbe4e39d0fc86b3896dbb37804d4 /xrdp
parente879cf5fcee24e415b97ef56f6c099c9fb781a9b (diff)
downloadxrdp-proprietary-0e7844ab02f3a513acf3fcbf557b388f3601486f.tar.gz
xrdp-proprietary-0e7844ab02f3a513acf3fcbf557b388f3601486f.zip
Constify MCS connectionType
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdp_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xrdp/xrdp_encoder.c b/xrdp/xrdp_encoder.c
index d5df5085..4d80214e 100644
--- a/xrdp/xrdp_encoder.c
+++ b/xrdp/xrdp_encoder.c
@@ -66,7 +66,7 @@ xrdp_encoder_create(struct xrdp_mm *mm)
client_info = mm->wm->client_info;
- if (client_info->mcs_connection_type != 6) /* LAN */
+ if (client_info->mcs_connection_type != CONNECTION_TYPE_LAN)
{
return 0;
}