diff options
author | speidy <speidy@gmail.com> | 2014-04-11 02:28:33 +0300 |
---|---|---|
committer | speidy <speidy@gmail.com> | 2014-04-11 02:28:33 +0300 |
commit | 9e4f4159ef683bbefd95b11daa4ccaac355e354f (patch) | |
tree | 93a128da79dd3b5ab5cfad5eae32ef42929280a7 /xrdp | |
parent | 5ff8aee291040993eef6f6364d718689f55d0c70 (diff) | |
download | xrdp-proprietary-9e4f4159ef683bbefd95b11daa4ccaac355e354f.tar.gz xrdp-proprietary-9e4f4159ef683bbefd95b11daa4ccaac355e354f.zip |
xrdp: indentation fix
Diffstat (limited to 'xrdp')
-rw-r--r-- | xrdp/xrdp_login_wnd.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/xrdp/xrdp_login_wnd.c b/xrdp/xrdp_login_wnd.c index c3f7c2ac..bf4fcb12 100644 --- a/xrdp/xrdp_login_wnd.c +++ b/xrdp/xrdp_login_wnd.c @@ -322,18 +322,19 @@ xrdp_wm_show_edits(struct xrdp_wm *self, struct xrdp_bitmap *combo) { self->login_window->focused_control = b; } - /*Use the domain name as the destination IP/DNS - This is useful in a gateway setup.*/ - if (g_strncmp(name, "ip", 255) == 0) - { - /* 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); - } - } + /*Use the domain name as the destination IP/DNS + This is useful in a gateway setup.*/ + if (g_strncmp(name, "ip", 255) == 0) + { + /* 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); + } + + } if (g_strncmp(name, "username", 255) == 0) { g_strncpy(b->caption1, self->session->client_info->username, 255); |