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.
master
Koichiro IWAO 8 years ago
parent 5fa636be89
commit 97cd454cd6

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

Loading…
Cancel
Save