x11rdp: respect disconnect timeout set by XRDP_SESMAN_MAX_DISC_TIME

The old code overwrites disconnect timeout to 60 sec when
XRDP_SESMAN_KILL_DISCONNECT is set to truthy value.
This commit is contained in:
Koichiro IWAO 2017-01-16 12:05:23 +09:00
parent 5fa636be89
commit 97cd454cd6

View File

@ -1337,7 +1337,6 @@ rdpup_init(void)
if (i != 0)
{
g_do_kill_disconnected = 1;
g_disconnect_timeout_s = 0;
}
}