xrdp: Ignore channels and logging sections

Ignore two more sections in xrdp.ini when looking for default session.
ulab-next
Philipp Hahn 12 years ago
parent 1a4ed6d3fd
commit ab60300e9a

@ -549,7 +549,9 @@ xrdp_wm_init(struct xrdp_wm *self)
{ {
q = (char *)list_get_item(names, index); 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); g_strncpy(section_name, q, 255);
break; break;

Loading…
Cancel
Save