From bb87599f80fe1eede7f31da40b09b4e296580063 Mon Sep 17 00:00:00 2001 From: bjcollins Date: Mon, 9 Feb 2015 17:15:07 -0600 Subject: [PATCH] Apply correct exit code to xfreerdp application for log off from certain flavors of Windows. --- client/X11/xf_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/X11/xf_client.c b/client/X11/xf_client.c index 1aace96c7..56a179e04 100644 --- a/client/X11/xf_client.c +++ b/client/X11/xf_client.c @@ -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;