mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Apply correct exit code to xfreerdp application for log off from certain flavors of Windows.
This commit is contained in:
@@ -1558,7 +1558,7 @@ DWORD xf_exit_code_from_disconnect_reason(DWORD reason)
|
||||
else if (reason >= 0x10c9 && reason <= 0x1193)
|
||||
reason = XF_EXIT_RDP;
|
||||
/* There's no need to test protocol-independent codes: they match */
|
||||
else if (!(reason <= 0xB))
|
||||
else if (!(reason <= 0xC))
|
||||
reason = XF_EXIT_UNKNOWN;
|
||||
|
||||
return reason;
|
||||
|
||||
Reference in New Issue
Block a user