Handle RDP disconnect.

This commit is contained in:
Michael Jumper 2012-03-25 21:46:20 -07:00
parent 8a771d2cd9
commit 59a32064d4

View File

@ -172,6 +172,13 @@ int rdp_guac_client_handle_messages(guac_client* client) {
return 1; return 1;
} }
/* Handle RDP disconnect */
if (freerdp_shall_disconnect(rdp_inst)) {
guac_error = GUAC_STATUS_NO_INPUT;
guac_error_message = "RDP server closed connection";
return 1;
}
/* Success */ /* Success */
return 0; return 0;