summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Hahn <hahn@univention.de>2013-01-25 17:35:04 +0100
committerPhilipp Hahn <hahn@univention.de>2013-01-28 11:04:28 +0100
commitab60300e9a533e2bc947dea028ce92015fa2a791 (patch)
tree7251dd001a943fff29acd8667dc857509a85cd61
parent1a4ed6d3fd4e85c31b60d532637f54b6fb3bffe7 (diff)
downloadxrdp-proprietary-ab60300e9a533e2bc947dea028ce92015fa2a791.tar.gz
xrdp-proprietary-ab60300e9a533e2bc947dea028ce92015fa2a791.zip
xrdp: Ignore channels and logging sections
Ignore two more sections in xrdp.ini when looking for default session.
-rw-r--r--xrdp/xrdp_wm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c
index 0a2600f2..e3fa1f80 100644
--- a/xrdp/xrdp_wm.c
+++ b/xrdp/xrdp_wm.c
@@ -549,7 +549,9 @@ xrdp_wm_init(struct xrdp_wm *self)
{
q = (char *)list_get_item(names, index);
- if (g_strncasecmp("globals", q, 8) != 0)
+ if ((g_strncasecmp("globals", q, 8) != 0)
+ && (g_strncasecmp("channels", q, 9) != 0)
+ && (g_strncasecmp("Logging", q, 8) != 0))
{
g_strncpy(section_name, q, 255);
break;