xrdp: Ignore channels and logging sections

Ignore two more sections in xrdp.ini when looking for default session.
This commit is contained in:
Philipp Hahn 2013-01-25 17:35:04 +01:00
parent 1a4ed6d3fd
commit ab60300e9a

View File

@ -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;