diff options
author | speidy <speidy@gmail.com> | 2014-04-11 02:24:17 +0300 |
---|---|---|
committer | speidy <speidy@gmail.com> | 2014-04-11 02:24:17 +0300 |
commit | 5ff8aee291040993eef6f6364d718689f55d0c70 (patch) | |
tree | f94d7abf65ddc6170b6135e6d0943e1bb104ecf2 /xrdp/xrdp_login_wnd.c | |
parent | 1e631717a0f9f00287fb47060e6795b17af1e2e5 (diff) | |
download | xrdp-proprietary-5ff8aee291040993eef6f6364d718689f55d0c70.tar.gz xrdp-proprietary-5ff8aee291040993eef6f6364d718689f55d0c70.zip |
xrdp: for proxy modules, pass target ip to module (if ip passed-in from
client into domain field (starting with _))
Diffstat (limited to 'xrdp/xrdp_login_wnd.c')
-rw-r--r-- | xrdp/xrdp_login_wnd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xrdp/xrdp_login_wnd.c b/xrdp/xrdp_login_wnd.c index cd62c013..c3f7c2ac 100644 --- a/xrdp/xrdp_login_wnd.c +++ b/xrdp/xrdp_login_wnd.c @@ -329,8 +329,8 @@ xrdp_wm_show_edits(struct xrdp_wm *self, struct xrdp_bitmap *combo) /* If the first char in the domain name is '_' we use the domain name as IP*/ if(self->session->client_info->domain[0]=='_') { - g_strncpy(b->caption1, &self->session->client_info->domain[1], 255); - b->edit_pos = g_mbstowcs(0, b->caption1, 0); + g_strncpy(b->caption1, &self->session->client_info->domain[1], 255); + b->edit_pos = g_mbstowcs(0, b->caption1, 0); } } |