GUACAMOLE-249: Handle failure to send either response required for monitor ready.
This commit is contained in:
parent
f805a80bc1
commit
a3d9a685e8
@ -138,8 +138,12 @@ static UINT guac_rdp_cliprdr_monitor_ready(CliprdrClientContext* cliprdr,
|
|||||||
guac_client_log(clipboard->client, GUAC_LOG_TRACE, "CLIPRDR: Received "
|
guac_client_log(clipboard->client, GUAC_LOG_TRACE, "CLIPRDR: Received "
|
||||||
"monitor ready.");
|
"monitor ready.");
|
||||||
|
|
||||||
/* Respond with capabilities and supported format list */
|
/* Respond with capabilities ... */
|
||||||
guac_rdp_cliprdr_send_capabilities(cliprdr);
|
int status = guac_rdp_cliprdr_send_capabilities(cliprdr);
|
||||||
|
if (status != CHANNEL_RC_OK)
|
||||||
|
return status;
|
||||||
|
|
||||||
|
/* ... and supported format list */
|
||||||
return guac_rdp_cliprdr_send_format_list(cliprdr);
|
return guac_rdp_cliprdr_send_format_list(cliprdr);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user