diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2014-08-06 13:21:01 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2014-08-06 13:21:01 -0700 |
commit | 8397055e8b412d58df84172fd6d883f7fe5b6906 (patch) | |
tree | 1f574323964fab8d3525cb0fb247c5496bbc23c5 /xrdp | |
parent | e4d054654f30ad8be900e72e1f943f93baf1809c (diff) | |
download | xrdp-proprietary-8397055e8b412d58df84172fd6d883f7fe5b6906.tar.gz xrdp-proprietary-8397055e8b412d58df84172fd6d883f7fe5b6906.zip |
move some hard code paths to defines in header
Diffstat (limited to 'xrdp')
-rw-r--r-- | xrdp/xrdp_mm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xrdp/xrdp_mm.c b/xrdp/xrdp_mm.c index 3f688662..179a44e7 100644 --- a/xrdp/xrdp_mm.c +++ b/xrdp/xrdp_mm.c @@ -549,7 +549,7 @@ xrdp_mm_setup_mod2(struct xrdp_mm *self) if (use_uds) { - g_snprintf(text, 255, "/tmp/.xrdp/xrdp_display_%d", self->display); + g_snprintf(text, 255, XRDP_X11RDP_STR, self->display); } else { @@ -1233,7 +1233,7 @@ xrdp_mm_process_login_response(struct xrdp_mm *self, struct stream *s) /* connect channel redir */ if ((g_strcmp(ip, "127.0.0.1") == 0) || (ip[0] == 0)) { - g_snprintf(port, 255, "/tmp/.xrdp/xrdp_chansrv_socket_%d", 7200 + display); + g_snprintf(port, 255, XRDP_CHANSRV_STR, display); } else { |