summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_login_wnd.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2016-11-19 07:44:28 +0000
committerJay Sorg <jay.sorg@gmail.com>2016-11-19 07:44:28 +0000
commite8308d58b3031d2ac1e21ac180cb09d547e08f2c (patch)
treebc3a964c0e913288cb99803a021c093a2fe1cd1b /xrdp/xrdp_login_wnd.c
parent25fd585d559ed8f6520180322f48f37ede5ada29 (diff)
downloadxrdp-proprietary-e8308d58b3031d2ac1e21ac180cb09d547e08f2c.tar.gz
xrdp-proprietary-e8308d58b3031d2ac1e21ac180cb09d547e08f2c.zip
xrdp: do case insensitive compare for section names
Diffstat (limited to 'xrdp/xrdp_login_wnd.c')
-rw-r--r--xrdp/xrdp_login_wnd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xrdp/xrdp_login_wnd.c b/xrdp/xrdp_login_wnd.c
index 76fc59b0..37cd1e00 100644
--- a/xrdp/xrdp_login_wnd.c
+++ b/xrdp/xrdp_login_wnd.c
@@ -560,9 +560,9 @@ xrdp_wm_login_fill_in_combo(struct xrdp_wm *self, struct xrdp_bitmap *b)
p = (char *)list_get_item(sections, i);
file_read_section(fd, p, section_names, section_values);
- if ((g_strncmp(p, "globals", 255) == 0)
- || (g_strncmp(p, "channels", 255) == 0)
- || (g_strncmp(p, "Logging", 255) == 0))
+ if ((g_strncasecmp(p, "globals", 255) == 0)
+ || (g_strncasecmp(p, "channels", 255) == 0)
+ || (g_strncasecmp(p, "Logging", 255) == 0))
{
}
else